nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
parser: new class AOperatorMethid to factorize operator methods
[nit.git]
/
tests
/
base_int.nit
diff --git
a/tests/base_int.nit
b/tests/base_int.nit
index
cc452e4
..
4a1c786
100644
(file)
--- a/
tests/base_int.nit
+++ b/
tests/base_int.nit
@@
-35,8
+35,8
@@
import kernel
(2==2).output
'\n'.output
(2==2).output
'\n'.output
-(not 1 is 2).output
-(2 is 2).output
+(not 1.is_same_instance(2)).output
+(2.is_same_instance(2)).output
'\n'.output
(not 1>2).output
'\n'.output
(not 1>2).output
@@
-69,5
+69,5
@@
import kernel
(3<=>2).output
'\n'.output
(3<=>2).output
'\n'.output
-1.succ.output
-3.prec.output
+1.successor(1).output
+3.predecessor(1).output