contracts: change the contract syntax
[nit.git] / tests / contracts_expects_3.nit
index 63bf318..018ce7b 100644 (file)
@@ -26,7 +26,7 @@ class SubClass
 
        redef fun foo(x: Int)
        is
-               expects(x == 0)
+               expect(x == 0)
        do
                if x != 0 then print "Good"
        end