diff options
author | patrick dw <algorithicimperative@gmail.com> | 2015-06-19 01:34:34 -0500 |
---|---|---|
committer | patrick dw <algorithicimperative@gmail.com> | 2015-06-19 01:34:34 -0500 |
commit | 69e15ac32fd92abe1d950275ab4b0d830d8b13e1 (patch) | |
tree | 5075b3b8a5ab2458a3bd23a652c31419c41bba32 /tests/trmacros | |
parent | b6252af5c6ce99c6eaec91fb5570143151660b74 (diff) | |
download | Nim-69e15ac32fd92abe1d950275ab4b0d830d8b13e1.tar.gz |
renamed writeln to writeLine in tests
Diffstat (limited to 'tests/trmacros')
-rw-r--r-- | tests/trmacros/targlist.nim | 4 | ||||
-rw-r--r-- | tests/trmacros/tstmtlist.nim | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/trmacros/targlist.nim b/tests/trmacros/targlist.nim index 321b3d5d2..f9d2cb6c6 100644 --- a/tests/trmacros/targlist.nim +++ b/tests/trmacros/targlist.nim @@ -3,7 +3,7 @@ discard """ """ proc f(x: varargs[string, `$`]) = discard -template optF{f(x)}(x: varargs[expr]) = - writeln(stdout, x) +template optF{f(x)}(x: varargs[expr]) = + writeLine(stdout, x) f 1, 2, false, 3, "ha" diff --git a/tests/trmacros/tstmtlist.nim b/tests/trmacros/tstmtlist.nim index 20cb5d688..5202f778b 100644 --- a/tests/trmacros/tstmtlist.nim +++ b/tests/trmacros/tstmtlist.nim @@ -7,13 +7,13 @@ discard """ template optWrite{ write(f, x) - ((write|writeln){w})(f, y) + ((write|writeLine){w})(f, y) }(x, y: varargs[expr], f, w: expr) = w(f, "|", x, y, "|") if true: echo "0" write stdout, "1" - writeln stdout, "2" + writeLine stdout, "2" write stdout, "3" echo "4" |