diff options
Diffstat (limited to 'tests/stdlib/tstreams3.nim')
-rw-r--r-- | tests/stdlib/tstreams3.nim | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/stdlib/tstreams3.nim b/tests/stdlib/tstreams3.nim deleted file mode 100644 index 89f45f275..000000000 --- a/tests/stdlib/tstreams3.nim +++ /dev/null @@ -1,20 +0,0 @@ -discard """ - output: "threw exception" - nimout: ''' -I -AM -GROOT -''' -""" -import streams - -try: - var fs = openFileStream("shouldneverexist.txt") -except IoError: - echo "threw exception" - -static: - var s = newStringStream("I\nAM\nGROOT") - for line in s.lines: - echo line - s.close |