X-Git-Url: http://nitlanguage.org diff --git a/tests/contracts_error.nit b/tests/contracts_error.nit index d103f58..f836751 100644 --- a/tests/contracts_error.nit +++ b/tests/contracts_error.nit @@ -20,8 +20,8 @@ class MyClass fun foo(x: Int) is - expects(bar_no_return) - ensures(assert x == 1) + expect(bar_no_return) + ensure(assert x == 1) do x = 0 end