fixed the io tests so they run as intended

There is however a problem with the unittest. It does output
colors even if stdout isn't a tty, so the test still fails.
This commit is contained in:
Simon Hafner 2011-12-31 19:07:31 +01:00
commit ad0ea47f43
3 changed files with 5 additions and 7 deletions

View file

@ -1 +1,2 @@
echo(stdin.readAll)
when isMainModule:
echo(stdin.readAll)