nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gamnit: extract Cuboid as super class to cube and intro Boxed3d::to_mesh
[nit.git]
/
tests
/
test_nitunit.nit
diff --git
a/tests/test_nitunit.nit
b/tests/test_nitunit.nit
index
b583197
..
d260cd1
100644
(file)
--- a/
tests/test_nitunit.nit
+++ b/
tests/test_nitunit.nit
@@
-24,6
+24,8
@@
class X
# assert undefined_identifier
fun foo do end
+ # a 'failure' unit test (does not parse)
+ # assert !@#$%^&*()
fun foo1(a, b: Int) do end
private fun foo2: Bool do return true