diff options
Diffstat (limited to 'tests/assign')
-rw-r--r-- | tests/assign/tassign.nim | 10 | ||||
-rw-r--r-- | tests/assign/tcopy.nim | 4 |
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 |