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_error.nit
diff --git
a/tests/contracts_error.nit
b/tests/contracts_error.nit
index
d103f58
..
f836751
100644
(file)
--- 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