nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nitweb: fix access to query results count
[nit.git]
/
tests
/
test_nitunit.nit
diff --git
a/tests/test_nitunit.nit
b/tests/test_nitunit.nit
index
d260cd1
..
e3b3301
100644
(file)
--- a/
tests/test_nitunit.nit
+++ b/
tests/test_nitunit.nit
@@
-28,6
+28,10
@@
class X
# assert !@#$%^&*()
fun foo1(a, b: Int) do end
+ # a private method (visible by nitunit)
+ #
+ # var x = new X
+ # assert x.foo2
private fun foo2: Bool do return true
var foo3: Y[X] = new Y[X]