nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: replace usage of `is` with `is_same_instance`
[nit.git]
/
tests
/
error_expr_not_ok.nit
diff --git
a/tests/error_expr_not_ok.nit
b/tests/error_expr_not_ok.nit
index
0f3063d
..
0b25f5c
100644
(file)
--- a/
tests/error_expr_not_ok.nit
+++ b/
tests/error_expr_not_ok.nit
@@
-83,9
+83,9
@@
trash(fail == fail) # no rtype
trash(fail != 1) # no rtype
trash(1 != fail)
trash(fail != fail) # no rtype
trash(fail != 1) # no rtype
trash(1 != fail)
trash(fail != fail) # no rtype
-trash(fail is 1)
-trash(1 is fail)
-trash(fail is fail)
+trash(fail.is_same_instance(1))
+trash(1.is_same_instance(fail))
+trash(fail.is_same_instance(fail))
trash(fail < 1) # no rtype
trash(1 < fail)
trash(fail < fail) # no rtype
trash(fail < 1) # no rtype
trash(1 < fail)
trash(fail < fail) # no rtype