summary refs log tree commit diff stats
path: root/tests/ambsym
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ambsym')
-rw-r--r--tests/ambsym/tambsym2.nim4
-rw-r--r--tests/ambsym/tambsym3.nim2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/ambsym/tambsym2.nim b/tests/ambsym/tambsym2.nim
index 745427c54..c3b997549 100644
--- a/tests/ambsym/tambsym2.nim
+++ b/tests/ambsym/tambsym2.nim
@@ -11,8 +11,8 @@ type
     
 proc len(x: TMyType): int {.inline.} = return x.len
 
-proc x(s: TMyType, len: int) = 
-  writeln(stdout, len(s))
+proc x(s: TMyType, len: int) =
+  writeLine(stdout, len(s))
   
 var
   m: TMyType
diff --git a/tests/ambsym/tambsym3.nim b/tests/ambsym/tambsym3.nim
index 0155f258c..ed8a3058a 100644
--- a/tests/ambsym/tambsym3.nim
+++ b/tests/ambsym/tambsym3.nim
@@ -10,6 +10,6 @@ import mambsym1, times
 var

   v = mDec #ERROR_MSG ambiguous identifier

 

-writeln(stdout, ord(v))

+writeLine(stdout, ord(v))