summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2021-04-16 01:25:03 +0800
committerGitHub <noreply@github.com>2021-04-15 19:25:03 +0200
commit3f56b9944e5e81338630060bdc89454853340792 (patch)
tree6a50d1b90f5a4572aab02678230e2faf63d23c45 /tests
parent363467fc00d15b274ce963548532cb6330f8b3a5 (diff)
downloadNim-3f56b9944e5e81338630060bdc89454853340792.tar.gz
follow up #17536 (#17727)
Diffstat (limited to 'tests')
-rw-r--r--tests/sets/t5792.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sets/t5792.nim b/tests/sets/t5792.nim
index efc38b1bc..297a1fc15 100644
--- a/tests/sets/t5792.nim
+++ b/tests/sets/t5792.nim
@@ -14,4 +14,4 @@ type
     of {b, c} - {a}:
       y: int
 
-discard U(k: b, y: 1)
+doAssert U(k: b, y: 1).y == 1