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/template | |
parent | b6252af5c6ce99c6eaec91fb5570143151660b74 (diff) | |
download | Nim-69e15ac32fd92abe1d950275ab4b0d830d8b13e1.tar.gz |
renamed writeln to writeLine in tests
Diffstat (limited to 'tests/template')
-rw-r--r-- | tests/template/tstempl.nim | 4 | ||||
-rw-r--r-- | tests/template/ttempl3.nim | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/template/tstempl.nim b/tests/template/tstempl.nim index 2b4a8baa0..f8e57abbb 100644 --- a/tests/template/tstempl.nim +++ b/tests/template/tstempl.nim @@ -15,10 +15,10 @@ var abclev = levB template tstLev(abclev: TLev) = bind tstempl.abclev, `%` - writeln(stdout, "global = $1, arg = $2, test = $3" % [ + writeLine(stdout, "global = $1, arg = $2, test = $3" % [ $tstempl.abclev, $abclev, $(tstempl.abclev == abclev)]) # evaluates to true, but must be false tstLev(levA) -writeln(stdout, $abclev) +writeLine(stdout, $abclev) diff --git a/tests/template/ttempl3.nim b/tests/template/ttempl3.nim index 59be24624..c5d78d414 100644 --- a/tests/template/ttempl3.nim +++ b/tests/template/ttempl3.nim @@ -13,8 +13,8 @@ template withOpenFile(f: expr, filename: string, mode: TFileMode, quit("cannot open for writing: " & filename) withOpenFile(txt, "ttempl3.txt", fmWrite): - writeln(txt, "line 1") - txt.writeln("line 2") + writeLine(txt, "line 1") + txt.writeLine("line 2") var myVar: array[0..1, int] |