summary refs log tree commit diff stats
path: root/tests/osproc/ta_in.nim
diff options
context:
space:
mode:
authorFabian Keller <bluenote10@users.noreply.github.com>2017-02-24 09:48:38 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-02-24 09:48:38 +0100
commite8ad59fdc497843e712583cba03cfd1809124bfb (patch)
tree89843d33eafbfc71b362265bf3ff62dd182ad23b /tests/osproc/ta_in.nim
parent2d546ca0ac80486b8f31e389ef19e4d65093a1fa (diff)
downloadNim-e8ad59fdc497843e712583cba03cfd1809124bfb.tar.gz
Bugfix/double newlines in stderr (#5426)
Diffstat (limited to 'tests/osproc/ta_in.nim')
-rw-r--r--tests/osproc/ta_in.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/osproc/ta_in.nim b/tests/osproc/ta_in.nim
new file mode 100644
index 000000000..b46890f6e
--- /dev/null
+++ b/tests/osproc/ta_in.nim
@@ -0,0 +1,5 @@
+# This file is prefixed with an "a", because other tests
+# depend on it and it must be compiled first.
+import strutils
+let x = stdin.readLine()
+echo x.parseInt + 5