summary refs log tree commit diff stats
path: root/tests/assign
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/assign
parentb6252af5c6ce99c6eaec91fb5570143151660b74 (diff)
downloadNim-69e15ac32fd92abe1d950275ab4b0d830d8b13e1.tar.gz
renamed writeln to writeLine in tests
Diffstat (limited to 'tests/assign')
-rw-r--r--tests/assign/tassign.nim10
-rw-r--r--tests/assign/tcopy.nim4
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/assign/tassign.nim b/tests/assign/tassign.nim
index f51c20783..9a4c1543b 100644
--- a/tests/assign/tassign.nim
+++ b/tests/assign/tassign.nim
@@ -22,10 +22,10 @@ proc test() =
 

   b = a # perform a deep copy here!

   b.seq = @["xyz", "huch", "was", "soll"]

-  writeln(stdout, len(a.seq))

-  writeln(stdout, a.seq[3])

-  writeln(stdout, len(b.seq))

-  writeln(stdout, b.seq[3])

-  writeln(stdout, b.y)

+  writeLine(stdout, len(a.seq))

+  writeLine(stdout, a.seq[3])

+  writeLine(stdout, len(b.seq))

+  writeLine(stdout, b.seq[3])

+  writeLine(stdout, b.y)

 

 test()

diff --git a/tests/assign/tcopy.nim b/tests/assign/tcopy.nim
index 5feb0d6b3..1e5bc3cba 100644
--- a/tests/assign/tcopy.nim
+++ b/tests/assign/tcopy.nim
@@ -16,8 +16,8 @@ proc main() =
   p = find(example, "=")
   a = substr(example, 0, p-1)
   b = substr(example, p+1)
-  writeln(stdout, a & '=' & b)
-  #writeln(stdout, b)
+  writeLine(stdout, a & '=' & b)
+  #writeLine(stdout, b)
 
 main()
 #OUT TEMP=C:\Programs\xyz\bin