Skip to content

Commit

Permalink
add testcase for #7127 (#15780)
Browse files Browse the repository at this point in the history
(cherry picked from commit d8fb237)
  • Loading branch information
ringabout authored and narimiran committed Nov 5, 2020
1 parent b0291b8 commit 051c201
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/js/t7127.nim
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
doAssertRaises(DivByZeroDefect): discard 1 mod 0
doAssertRaises(DivByZeroDefect): discard 1 div 0

0 comments on commit 051c201

Please sign in to comment.