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
/
sav
/
error_fun_ret4.res
diff --git
a/tests/sav/error_fun_ret4.res
b/tests/sav/error_fun_ret4.res
index
1c9f8a5
..
82eb284
100644
(file)
--- a/
tests/sav/error_fun_ret4.res
+++ b/
tests/sav/error_fun_ret4.res
@@
-1,2
+1,2
@@
-error_fun_ret4.nit:17,5--8: Control error: Reached end of function (a 'return' with a value was expected).
+error_fun_ret4.nit:17,5--8: Error: reached end of function; expected `return` with a value.
error_fun_ret4.nit:19,2--22,4: Warning: use `loop` instead of `while true do`.
error_fun_ret4.nit:19,2--22,4: Warning: use `loop` instead of `while true do`.