Merge: doc: fixed some typos and other misc. corrections
[nit.git] / tests / base_int2.nit
index 0f15bad..3e66af7 100644 (file)
@@ -39,8 +39,8 @@ fun three: Int do return 3
 (two==two).output
 '\n'.output
 
-(not one is two).output
-(two is two).output
+(not one.is_same_instance(two)).output
+(two.is_same_instance(two)).output
 '\n'.output
 
 (not one>two).output
@@ -73,5 +73,5 @@ fun three: Int do return 3
 (three<=>two).output
 '\n'.output
 
-one.succ.output
-three.prec.output
+one.successor(1).output
+three.predecessor(1).output