summary refs log tree commit diff stats
path: root/tests/system/tostring.nim
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2020-02-07 17:10:25 +0100
committerGitHub <noreply@github.com>2020-02-07 17:10:25 +0100
commitb2c6db97f9f477f6999fa9c7aae5e32f10b6b3fe (patch)
treedb2b5c35608cfab2dd81514c8bf0a7c643af3056 /tests/system/tostring.nim
parentcdedb863488da74622aa1cbdf6e9e989dabd4145 (diff)
downloadNim-b2c6db97f9f477f6999fa9c7aae5e32f10b6b3fe.tar.gz
printing float values will have one more digit. (#13276) [backport]
* printing float values will have one more digit. Fixes #13196
Diffstat (limited to 'tests/system/tostring.nim')
-rw-r--r--tests/system/tostring.nim4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/system/tostring.nim b/tests/system/tostring.nim
index ea4a44417..ea882e77a 100644
--- a/tests/system/tostring.nim
+++ b/tests/system/tostring.nim
@@ -11,10 +11,6 @@ doAssert """["", "foo", "bar"]""" == $(@["", "foo", "bar"].toOpenArray(0, 2))
 # bug #2395
 let alphaSet: set[char] = {'a'..'c'}
 doAssert "{'a', 'b', 'c'}" == $alphaSet
-doAssert "2.3242" == $(2.3242)
-doAssert "2.982" == $(2.982)
-doAssert "123912.1" == $(123912.1)
-doAssert "123912.1823" == $(123912.1823)
 doAssert "5.0" == $(5.0)
 doAssert "1e+100" == $(1e100)
 doAssert "inf" == $(1e1000000)