diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2020-04-30 06:48:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-30 06:48:57 +0200 |
commit | cc60caedb3a1c7043b0f7ef2db5c741ecaa1482f (patch) | |
tree | 92589110580fe4fb6cba0bdab6270b8a887de433 /tests/destructor | |
parent | d6e1b5c070bf58449bf4af210ec099418d496aa5 (diff) | |
download | Nim-cc60caedb3a1c7043b0f7ef2db5c741ecaa1482f.tar.gz |
fixes #14054 [backport:1.2] (#14061)
* fixes #14054 * make tests green again * more tests are green * maybe now
Diffstat (limited to 'tests/destructor')
-rw-r--r-- | tests/destructor/tnewruntime_strutils.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/destructor/tnewruntime_strutils.nim b/tests/destructor/tnewruntime_strutils.nim index 9afb507f7..b0bceb4b5 100644 --- a/tests/destructor/tnewruntime_strutils.nim +++ b/tests/destructor/tnewruntime_strutils.nim @@ -37,7 +37,7 @@ bug12899() proc nonStaticTests = doAssert formatBiggestFloat(1234.567, ffDecimal, -1) == "1234.567000" - doAssert formatBiggestFloat(1234.567, ffDecimal, 0) == "1235" # bugs 8242, 12586 + doAssert formatBiggestFloat(1234.567, ffDecimal, 0) == "1235." # bugs 8242, 12586 doAssert formatBiggestFloat(1234.567, ffDecimal, 1) == "1234.6" doAssert formatBiggestFloat(0.00000000001, ffDecimal, 11) == "0.00000000001" doAssert formatBiggestFloat(0.00000000001, ffScientific, 1, ',') in |