Merge: doc: fixed some typos and other misc. corrections
[nit.git] / tests / base_isa_cast2.nit
index 1551ac3..7517281 100644 (file)
@@ -21,7 +21,7 @@ class A
 end
 
 class B
-special A
+       super A
        fun foo(i: Int) do i.output
        init do end
 end
@@ -41,7 +41,7 @@ end
 if not a isa B then
        #alt4#a.foo(-4)
        a = new B
-       assert a isa B
+
        a.foo(3)
 end
 a.foo(4)
@@ -56,7 +56,7 @@ end
 while not a isa B do
        #alt7#a.foo(-7)
        a = new B
-       assert a isa B
+
        a.foo(6)
 end
 #alt8#a.foo(7)