contracts: change the contract syntax
[nit.git] / tests / contracts_expects_1.nit
index eb923ab..be6897b 100644 (file)
@@ -17,7 +17,7 @@
 class MyClass
        fun foo(x: Int)
        is
-               expects(x > 0)
+               expect(x > 0)
        do
                if x <= 0 then print "FAIL"
        end