Skip to content

Commit

Permalink
simplify tests for now
Browse files Browse the repository at this point in the history
  • Loading branch information
disruptek committed Aug 25, 2020
1 parent f5b00ab commit 1d9c7e6
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions tests/testicles.nim
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,4 @@ testes:
block omission:
skip()

block:
## hide this gory when statement
when defined(release):
testes:
const compile = true
proc doesnt(c: bool) =
if not c:
raise

block:
proc fixed() = doesnt(compile)
else:
testes:
block:
proc broken() = doesnt(compile)

block assertions:
assert 2 == 4 div 2
assert 2 != 4 div 2

assert "any statement is a test" != ""

0 comments on commit 1d9c7e6

Please sign in to comment.