scan-test: Print nonintegers with limited precision to avoid test failures.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 28 Sep 2013 21:57:23 +0000 (14:57 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 28 Sep 2013 21:57:23 +0000 (14:57 -0700)
commit960d7a3b2d6748d78537572df211a47eb0709ed5
treec6a4d65df4d612b91920ac9abb4b8ffdf38671c8
parent2bc8abedadbc5deec93d5983e432cb47093e89bc
scan-test: Print nonintegers with limited precision to avoid test failures.

Cygwin printed 0.1 as 0.10000000000000001, even with dtoastr().

Reported by Przemek Powalko <pp.alter.ego@gmail.com>.
tests/language/lexer/scan-test.c