diff options
Diffstat (limited to 'tests/misc/treadln.nim')
-rw-r--r-- | tests/misc/treadln.nim | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/misc/treadln.nim b/tests/misc/treadln.nim deleted file mode 100644 index b716c4711..000000000 --- a/tests/misc/treadln.nim +++ /dev/null @@ -1,21 +0,0 @@ - -discard """ -output: ''' -test the improved readline handling that does not care whether its -Macintosh, Unix or Windows text format. -''' -""" - -# test the improved readline handling that does not care whether its -# Macintosh, Unix or Windows text format. - -var - inp: File - line: string - -if open(inp, "tests/misc/treadln.nim"): - while not endOfFile(inp): - line = readLine(inp) - if line.len >= 2 and line[0] == '#' and line[1] == ' ': - echo line[2..^1] - close(inp) |