diff --git a/tests/system/tostring.nim b/tests/system/tostring.nim index ea4a44417f3d3..4ff363075c676 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 == ""