summary refs log tree commit diff stats
path: root/tests/concepts/tspec.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/concepts/tspec.nim')
-rw-r--r--tests/concepts/tspec.nim5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/concepts/tspec.nim b/tests/concepts/tspec.nim
index 1bca3c11b..52f13a40a 100644
--- a/tests/concepts/tspec.nim
+++ b/tests/concepts/tspec.nim
@@ -7,8 +7,7 @@ discard """
 2
 3
 yes int
-string int
-true'''
+string int'''
   joinable: false
 """
 
@@ -102,5 +101,5 @@ type Monoid = concept
 
 proc z(x: typedesc[int]): int = 0
 
-echo(int is Monoid)
+doAssert int is Monoid