summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorandri lim <jangko128@gmail.com>2018-06-06 22:29:31 +0700
committerandri lim <jangko128@gmail.com>2018-06-06 22:29:31 +0700
commit4262a85653e22e430824c92db35c5ee3bcecf954 (patch)
tree23e8ecad552d79df4f3bcdf4e5649ea93a3b79b3 /tests
parent436c1229563c6c44c85cf9b26814b0a4a45ef3f4 (diff)
downloadNim-4262a85653e22e430824c92db35c5ee3bcecf954.tar.gz
fixed wrong test
Diffstat (limited to 'tests')
-rw-r--r--tests/typerel/t4799.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/typerel/t4799.nim b/tests/typerel/t4799.nim
index 89312950f..075893476 100644
--- a/tests/typerel/t4799.nim
+++ b/tests/typerel/t4799.nim
@@ -187,7 +187,7 @@ block test_t4799_7:
   var b = Bike[int](tire: 2)
 
   reject:
-    echo testVehicle b, c, v
+    echo testVehicle(b, c, v)
 
 block test_t4799_8:
   type
@@ -206,7 +206,7 @@ block test_t4799_8:
   var b = Bike(tire: 2)
 
   reject:
-    echo testVehicle b, c, v
+    echo testVehicle(b, c, v)
 
 type
   PGVehicle[T] = ptr object of RootObj
@@ -223,7 +223,7 @@ var pgc = PGCar[int](tire: 4)
 var pgb = PGBike[int](tire: 2)
 
 reject:
-  echo testVehicle pgb, pgc
+  echo testVehicle(pgb, pgc)
 
 type
   RVehicle = ptr object of RootObj
@@ -240,6 +240,6 @@ var rc = RCar(tire: 4)
 var rb = RBike(tire: 2)
 
 reject:
-  echo testVehicle rb, rc
+  echo testVehicle(rb, rc)
 
 echo "OK"