summary refs log tree commit diff stats
path: root/tests/js/t8821.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/js/t8821.nim')
-rw-r--r--tests/js/t8821.nim5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/js/t8821.nim b/tests/js/t8821.nim
index 43cf3f6f2..38c88efa8 100644
--- a/tests/js/t8821.nim
+++ b/tests/js/t8821.nim
@@ -1,6 +1,3 @@
-discard """
-  errormsg: "Your case statement contains too many branches, consider using if/else instead!"
-"""
 
 proc isInt32(i: int): bool =
   case i 
@@ -9,4 +6,4 @@ proc isInt32(i: int): bool =
   else:
     return false
 
-discard isInt32(1)
\ No newline at end of file
+doAssert isInt32(1) == true
\ No newline at end of file