tests: skip nitg for nitg-g (kill pratchett)
[nit.git] / tests / base_closure1.nit
index a790261..53a8fb7 100644 (file)
@@ -21,25 +21,29 @@ class A
                !bar
        do
                1.output
-               bar #!alt1#
+               bar #alt1#
                #alt2#bar(2)
                #alt3#var x = bar
                4.output
        end
 end
 
+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
                #alt4#break
                #alt5#break 'x'
                #alt6#continue
                #alt7#continue 'x'
                #alt8#return
                #alt9#return 'x'
+               end
                3.output
        end
        #alt10# a.foo