nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
contracts: change the contract syntax
[nit.git]
/
tests
/
contracts_expects_3.nit
diff --git
a/tests/contracts_expects_3.nit
b/tests/contracts_expects_3.nit
index
63bf318
..
018ce7b
100644
(file)
--- a/
tests/contracts_expects_3.nit
+++ b/
tests/contracts_expects_3.nit
@@
-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