Merge: doc: fixed some typos and other misc. corrections
[nit.git] / tests / base_label_for.nit
index e7d59b5..7e89814 100644 (file)
@@ -18,7 +18,7 @@ import abstract_collection
 
 fun maybe: Bool do return true
 
-var a = new Container[Int](1)
+var a = new Ref[Int](1)
 1.output
 for i in a do
        2.output
@@ -34,7 +34,7 @@ for i in a do
                end
                if maybe then break label l1
                4.output
-       end label l2#!alt6#
+       end label l2#alt6#
        #alt6#end label l1
        5.output
 end label l1