syntax-gen.c : Allow conversion specifiers of the form %.20f
[pspp] / tests / ui / syntax-gen-test.c
index 2c669290df8e7de8b4661c7261191a3028b51dd4..f99b4f44b435e9da23e70cb565ef28f82a8c167e 100644 (file)
@@ -32,6 +32,7 @@ main (void)
   test_runner ("An integer: %dEND", 98765);
   test_runner ("A floating point number: %gEND", 3.142);
   test_runner ("A floating point number with default precision: %fEND", 1.234);
+  test_runner ("A floating point number with given precision: %.20fEND", 1.234);
   test_runner ("A literal %%");
 
   test_runner ("and %ss a %sq of %d different %f examples %g of 100%% conversions.",