nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pep8analysis: fix format and encoding of some sample/test programs
[nit.git]
/
tests
/
test_exec.nit
diff --git
a/tests/test_exec.nit
b/tests/test_exec.nit
index
117bb57
..
4a1a749
100644
(file)
--- a/
tests/test_exec.nit
+++ b/
tests/test_exec.nit
@@
-23,12
+23,12
@@
var ip = new IProcess("echo", "B hello world!")
ip.read_line.output
ip.wait
ip.read_line.output
ip.wait
-var op = new OProcess.init_("cat")
+var op = new OProcess.from_a("cat", null)
op.write("C hello world!\n")
op.close
op.wait
op.write("C hello world!\n")
op.close
op.wait
-var iop = new IOProcess.init_("cat")
+var iop = new IOProcess.from_a("cat", null)
iop.write("D hello world!\n")
iop.read_line.output
iop.close
iop.write("D hello world!\n")
iop.read_line.output
iop.close