summary refs log tree commit diff stats
path: root/tests/concepts/twrapconcept.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-02-10 20:39:05 +0100
committerAraq <rumpf_a@web.de>2018-02-10 20:55:21 +0100
commitef6eda4cb4b28a6c4a2706ea56240bc708e36349 (patch)
tree9f7596b6a4127d40a146d56bfb25a1f345e2fd8e /tests/concepts/twrapconcept.nim
parent51d81c4e23c7f5513a1b2028f02509c860021278 (diff)
downloadNim-ef6eda4cb4b28a6c4a2706ea56240bc708e36349.tar.gz
better error messages: use <T1, T2> instead of (T1, T2) in order to prevent confusions with tuple types
Diffstat (limited to 'tests/concepts/twrapconcept.nim')
-rw-r--r--tests/concepts/twrapconcept.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/concepts/twrapconcept.nim b/tests/concepts/twrapconcept.nim
index 25a855e34..377b63afe 100644
--- a/tests/concepts/twrapconcept.nim
+++ b/tests/concepts/twrapconcept.nim
@@ -1,5 +1,5 @@
 discard """
-  errormsg: "type mismatch: got (string)"
+  errormsg: "type mismatch: got <string>"
   line: 21
   nimout: "twrapconcept.nim(11, 5) Foo: concept predicate failed"
 """
@@ -9,7 +9,7 @@ discard """
 type
   Foo = concept foo
     foo.get is int
-  
+
   FooWrap[F: Foo] = object
     foo: F