summary refs log tree commit diff stats
path: root/tests/template/ttempl3.nim
diff options
context:
space:
mode:
authorpatrick dw <algorithicimperative@gmail.com>2015-06-19 01:34:34 -0500
committerpatrick dw <algorithicimperative@gmail.com>2015-06-19 01:34:34 -0500
commit69e15ac32fd92abe1d950275ab4b0d830d8b13e1 (patch)
tree5075b3b8a5ab2458a3bd23a652c31419c41bba32 /tests/template/ttempl3.nim
parentb6252af5c6ce99c6eaec91fb5570143151660b74 (diff)
downloadNim-69e15ac32fd92abe1d950275ab4b0d830d8b13e1.tar.gz
renamed writeln to writeLine in tests
Diffstat (limited to 'tests/template/ttempl3.nim')
-rw-r--r--tests/template/ttempl3.nim4
1 files changed, 2 insertions, 2 deletions
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]