diff options
author | Ganesh Viswanathan <dev@genotrance.com> | 2018-09-14 18:34:56 -0500 |
---|---|---|
committer | Ganesh Viswanathan <dev@genotrance.com> | 2018-09-14 18:34:56 -0500 |
commit | 80520eef3cce0b3145dedc71a6652429adb9cc9e (patch) | |
tree | d64725d2749cb82bfef997bbbdb443cc4827de6d /tests/stdlib/tio.nim | |
parent | e07a256f74b9e89e49287c8a21c1334af43e27c2 (diff) | |
parent | b9dc486db15bb1b4b6f3cef7626733b904d377f7 (diff) | |
download | Nim-80520eef3cce0b3145dedc71a6652429adb9cc9e.tar.gz |
Merge remote-tracking branch 'upstream/devel' into test-6483
Diffstat (limited to 'tests/stdlib/tio.nim')
-rw-r--r-- | tests/stdlib/tio.nim | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/stdlib/tio.nim b/tests/stdlib/tio.nim index 28e1881e8..b1057dee2 100644 --- a/tests/stdlib/tio.nim +++ b/tests/stdlib/tio.nim @@ -1,9 +1,12 @@ discard """ output: '''9 -b = false +b = true 123456789 Second readLine raised an exception 123456789 +1 +2aaaaaaaa +3bbbbbbb ''' """ # bug #5349 @@ -38,3 +41,9 @@ echo line f.close() removeFile(fn) + +# bug #8961 +writeFile("test.txt", "1\C\L2aaaaaaaa\C\L3bbbbbbb") + +for line in lines("test.txt"): + echo line |