summary refs log tree commit diff stats
path: root/tests/system/tostring.nim
diff options
context:
space:
mode:
authorJuan Carlos <juancarlospaco@gmail.com>2020-06-29 04:33:07 -0300
committerGitHub <noreply@github.com>2020-06-29 09:33:07 +0200
commit5d5df4a39413b76d6131cb3d85e606e255d54b22 (patch)
tree96c896e99690d12d20cfe0267e33a23073a2b42e /tests/system/tostring.nim
parentd968163cd18c70167ff428bcf8c1b5e3dfb2da5b (diff)
downloadNim-5d5df4a39413b76d6131cb3d85e606e255d54b22.tar.gz
Clean out Deprecated proc (#14797)
* Remove and/or clean out Deprecated 'add' proc for floats
* Update a test
Diffstat (limited to 'tests/system/tostring.nim')
-rw-r--r--tests/system/tostring.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/system/tostring.nim b/tests/system/tostring.nim
index ea4a44417..4ff363075 100644
--- a/tests/system/tostring.nim
+++ b/tests/system/tostring.nim
@@ -83,9 +83,9 @@ proc stringCompare() =
   doAssert b == "bee"
   b.add g
   doAssert b == "bee"
-  c.add 123.456
+  c.addFloat 123.456
   doAssert c == "123.456"
-  d.add 123456
+  d.addInt 123456
   doAssert d == "123456"
 
   doAssert e == ""