Bugfix/double newlines in stderr (#5426)

This commit is contained in:
Fabian Keller 2017-02-24 09:48:38 +01:00 • committed by Andreas Rumpf
commit e8ad59fdc4
6 changed files with 52 additions and 4 deletions

16
tests/osproc/ta_out.nim Normal file
View file

@ -0,0 +1,16 @@
# This file is prefixed with an "a", because other tests
# depend on it and it must be compiled first.
stdout.writeLine("to stdout")
stdout.flushFile()
stdout.writeLine("to stdout")
stdout.flushFile()
stderr.writeLine("to stderr")
stderr.flushFile()
stderr.writeLine("to stderr")
stderr.flushFile()
stdout.writeLine("to stdout")
stdout.flushFile()
stdout.writeLine("to stdout")
stdout.flushFile()