summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-10-13 08:39:56 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-10-13 08:39:56 +0200
commit1475697fbf0b7604d805e5c11467695c0c82512c (patch)
treeb90202a254baed12baaeb150c73c1f4ace7ff575
parent33cdae8c320955df522f62785bbe43630d9e7e8c (diff)
downloadNim-1475697fbf0b7604d805e5c11467695c0c82512c.tar.gz
make tests green again
-rw-r--r--tests/assign/tassign.nim10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/assign/tassign.nim b/tests/assign/tassign.nim
index afdf02f8e..cb03b5004 100644
--- a/tests/assign/tassign.nim
+++ b/tests/assign/tassign.nim
@@ -6,6 +6,10 @@ TEMP=C:\Programs\xyz\bin
 8 5 0 0
 pre test a:test b:1 c:2 haha:3
 assignment test a:test b:1 c:2 haha:3
+'''
+"""
+
+#[
 Concrete '='
 Concrete '='
 Concrete '='
@@ -21,8 +25,7 @@ GenericT[T] '=' bool
 GenericT[T] '=' bool
 GenericT[T] '=' bool
 GenericT[T] '=' bool
-'''
-"""
+]#
 
 block tassign:
 # Test the assignment operator for complex types which need RTTI
@@ -149,8 +152,7 @@ block tobjasgn:
   echo "assignment test ", x
 
 
-import typetraits
-block toverload_asgn:
+when false:
   type
     Concrete = object
       a, b: string