X-Git-Url: http://nitlanguage.org diff --git a/tests/base_closure_default2.nit b/tests/base_closure_default2.nit index e420327..ce6f476 100644 --- a/tests/base_closure_default2.nit +++ b/tests/base_closure_default2.nit @@ -18,7 +18,7 @@ import kernel class A fun foo - with bar(i: Int) do + !bar(i: Int) do #alt1# return #alt2# return 1 #alt3# abort @@ -36,7 +36,7 @@ end var a = new A 0.output -a.foo with j do j.output +a.foo !bar j do j.output 0.output a.foo 0.output