nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'll-and-gg-operators' into wip
[nit.git]
/
tests
/
test_equal_nil.nit
diff --git
a/tests/test_equal_nil.nit
b/tests/test_equal_nil.nit
index
dd7edd7
..
74342a2
100644
(file)
--- a/
tests/test_equal_nil.nit
+++ b/
tests/test_equal_nil.nit
@@
-19,8
+19,8
@@
class A
init do end
end
-var a = new A
-var b: A = null
+var a: nullable A = new A
+var b: nullable A = null
if a == null then printn(0) else printn(1)
if a is null then printn(0) else printn(1)
#if b == null then printn(1) else printn(0)