tests: replace #!alt by #alt
[nit.git] / tests / base_closure_break.nit
index 8d8c3f6..e4934fb 100644 (file)
@@ -18,11 +18,11 @@ import kernel
 
 class A
        fun foo
-               break !bar #!alt12#
+               break !bar #alt12#
                #alt12#break !bar: Int
        do
                1.output
-               if maybe then bar #!alt1#
+               if maybe then bar #alt1#
                #alt2#if maybe then bar(2)
                #alt3#if maybe then var x = bar
                4.output
@@ -34,7 +34,7 @@ fun maybe: Bool do return true
 fun work
 do
        var a = new A
-       a.foo !bar do #!alt11#
+       a.foo !bar do #alt11#
        #alt11#a.foo !bar x do
                2.output
                if maybe then
@@ -46,7 +46,7 @@ do
                #alt9#return 'x'
                end
                3.output
-               break #!alt13#
+               break #alt13#
        end
        #alt10# a.foo
        5.output