X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fui%2Fsyntax-gen-test.c;h=f99b4f44b435e9da23e70cb565ef28f82a8c167e;hb=bc37b6167cf6b5d9f0b1a88c6171791cd0c359e7;hp=2c669290df8e7de8b4661c7261191a3028b51dd4;hpb=8925b93f70213a7b88521ea134d0c7daf18bb1a5;p=pspp diff --git a/tests/ui/syntax-gen-test.c b/tests/ui/syntax-gen-test.c index 2c669290df..f99b4f44b4 100644 --- a/tests/ui/syntax-gen-test.c +++ b/tests/ui/syntax-gen-test.c @@ -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.",