diff options
Diffstat (limited to 'tests/stdlib')
-rw-r--r-- | tests/stdlib/tgetfileinfo.nim | 2 | ||||
-rw-r--r-- | tests/stdlib/tjsonmacro.nim | 2 | ||||
-rw-r--r-- | tests/stdlib/tosproc.nim | 2 | ||||
-rw-r--r-- | tests/stdlib/trepr2.nim | 2 | ||||
-rw-r--r-- | tests/stdlib/ttimes.nim | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/tests/stdlib/tgetfileinfo.nim b/tests/stdlib/tgetfileinfo.nim index e0b73da0c..d5ccdea56 100644 --- a/tests/stdlib/tgetfileinfo.nim +++ b/tests/stdlib/tgetfileinfo.nim @@ -14,7 +14,7 @@ import os, strutils # 8 - Handle : Invalid Handle proc genBadFileName(limit = 100): string = - ## Generates a filename of a nonexistant file. + ## Generates a filename of a nonexistent file. ## Returns "" if generation fails. result = "a" var hitLimit = true diff --git a/tests/stdlib/tjsonmacro.nim b/tests/stdlib/tjsonmacro.nim index 85530065d..8dc5a32d2 100644 --- a/tests/stdlib/tjsonmacro.nim +++ b/tests/stdlib/tjsonmacro.nim @@ -90,7 +90,7 @@ when true: doAssert result.other == node["other"].getBiggestInt() # TODO: Test object variant with set in of branch. - # TODO: Should we support heterogenous arrays? + # TODO: Should we support heterogeneous arrays? # Tests that verify the error messages for invalid data. block: diff --git a/tests/stdlib/tosproc.nim b/tests/stdlib/tosproc.nim index 363de9096..1859877e7 100644 --- a/tests/stdlib/tosproc.nim +++ b/tests/stdlib/tosproc.nim @@ -35,7 +35,7 @@ when defined(case_testfile): # compiled test file for child process # failed. The shell (and lldb debugger) solves that by inserting a # helpful msg: `segmentation fault` when it detects a signal killed # the child. - # todo: expose an API that will show more diagnostic, returing + # todo: expose an API that will show more diagnostic, returning # (exitCode, signal) instead of just `shellExitCode`. if true: quit(139) of "exit_recursion": # stack overflow by infinite recursion diff --git a/tests/stdlib/trepr2.nim b/tests/stdlib/trepr2.nim index 89379da96..7b9f9db28 100644 --- a/tests/stdlib/trepr2.nim +++ b/tests/stdlib/trepr2.nim @@ -2,7 +2,7 @@ discard """ outputsub: "" """ -# output not testable because repr prints pointer adresses +# output not testable because repr prints pointer addresses # test the new "repr" built-in proc type diff --git a/tests/stdlib/ttimes.nim b/tests/stdlib/ttimes.nim index ef6712171..97945b21d 100644 --- a/tests/stdlib/ttimes.nim +++ b/tests/stdlib/ttimes.nim @@ -95,7 +95,7 @@ template runTimezoneTests() = # Bug with parse not setting DST properly if the current local DST differs from # the date being parsed. Need to test parse dates both in and out of DST. We - # are testing that be relying on the fact that tranforming a TimeInfo to a Time + # are testing that be relying on the fact that transforming a TimeInfo to a Time # and back again will correctly set the DST value. With the incorrect parse # behavior this will introduce a one hour offset from the named time and the # parsed time if the DST value differs between the current time and the date we @@ -155,7 +155,7 @@ suite "ttimes": # impossible time period check initDateTime(26, mMar, 2017, 02, 30, 00).format(f) == "2017-03-26 03:30 +02:00" - # In case of an ambiguous time, the earlier time is choosen + # In case of an ambiguous time, the earlier time is chosen check initDateTime(29, mOct, 2017, 02, 00, 00).format(f) == "2017-10-29 02:00 +02:00" # These are just dates on either side of the dst switch |