summary refs log tree commit diff stats
path: root/tests/stdlib/tstrformat.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-06-17 20:25:25 -0700
committerGitHub <noreply@github.com>2020-06-17 20:25:25 -0700
commit7df27b5035ad128812fbd070e3fa80ef6819e4df (patch)
tree06dbebdba85f971b5a87b4da1272cb2ec7831706 /tests/stdlib/tstrformat.nim
parente7f280bd26a54b4f187b087c8d35f43f0e6328c7 (diff)
downloadNim-7df27b5035ad128812fbd070e3fa80ef6819e4df.tar.gz
[cleanups] doassert => doAssert; mark deadcode (#14711)
Diffstat (limited to 'tests/stdlib/tstrformat.nim')
-rw-r--r--tests/stdlib/tstrformat.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/stdlib/tstrformat.nim b/tests/stdlib/tstrformat.nim
index 7db001979..22c0cf95d 100644
--- a/tests/stdlib/tstrformat.nim
+++ b/tests/stdlib/tstrformat.nim
@@ -65,8 +65,8 @@ doAssert fmt"{1.5: 08}" == " 00001.5" # works
 
 # only add explicitly requested sign if value != -0.0 (neg zero)
 doAssert fmt"{-0.0:g}" == "-0"
-doassert fmt"{-0.0:+g}" == "-0"
-doassert fmt"{-0.0: g}" == "-0"
+doAssert fmt"{-0.0:+g}" == "-0"
+doAssert fmt"{-0.0: g}" == "-0"
 doAssert fmt"{0.0:g}" == "0"
 doAssert fmt"{0.0:+g}" == "+0"
 doAssert fmt"{0.0: g}" == " 0"