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/misc/thallo.nim | |
parent | b6252af5c6ce99c6eaec91fb5570143151660b74 (diff) | |
download | Nim-69e15ac32fd92abe1d950275ab4b0d830d8b13e1.tar.gz |
renamed writeln to writeLine in tests
Diffstat (limited to 'tests/misc/thallo.nim')
-rw-r--r-- | tests/misc/thallo.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/misc/thallo.nim b/tests/misc/thallo.nim index cbeb45b97..17e955f03 100644 --- a/tests/misc/thallo.nim +++ b/tests/misc/thallo.nim @@ -22,7 +22,7 @@ macro macrotest(n: expr): stmt {.immediate.} = result = newNimNode(nnkStmtList, n) for i in 2..n.len-1: result.add(newCall("write", n[1], n[i])) - result.add(newCall("writeln", n[1], newStrLitNode(""))) + result.add(newCall("writeLine", n[1], newStrLitNode(""))) macro debug(n: expr): stmt {.immediate.} = let n = callsite() @@ -30,7 +30,7 @@ macro debug(n: expr): stmt {.immediate.} = for i in 1..n.len-1: result.add(newCall("write", newIdentNode("stdout"), toStrLit(n[i]))) result.add(newCall("write", newIdentNode("stdout"), newStrLitNode(": "))) - result.add(newCall("writeln", newIdentNode("stdout"), n[i])) + result.add(newCall("writeLine", newIdentNode("stdout"), n[i])) macrotest(stdout, "finally", 4, 5, "variable", "argument lists") macrotest(stdout) @@ -38,7 +38,7 @@ macrotest(stdout) #GC_disable() echo("This was compiled by Nim version " & system.NimVersion) -writeln(stdout, "Hello", " World", "!") +writeLine(stdout, "Hello", " World", "!") echo(["a", "b", "c", "d"].len) for x in items(["What's", "your", "name", "?", ]): |