From 69e15ac32fd92abe1d950275ab4b0d830d8b13e1 Mon Sep 17 00:00:00 2001 From: patrick dw Date: Fri, 19 Jun 2015 01:34:34 -0500 Subject: renamed writeln to writeLine in tests --- tests/trmacros/targlist.nim | 4 ++-- tests/trmacros/tstmtlist.nim | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/trmacros') 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" -- cgit 1.4.1-2-gfad0