nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/nlp: introduce NLPDocument to NLPVector translation
[nit.git]
/
tests
/
test_return.nit
diff --git
a/tests/test_return.nit
b/tests/test_return.nit
index
4b54032
..
7df5ff7
100644
(file)
--- a/
tests/test_return.nit
+++ b/
tests/test_return.nit
@@
-14,24
+14,24
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-meth a
+fun a
do
return
end
do
return
end
-meth b: Int
+fun b: Int
do
return 1
end
do
return 1
end
-meth c: Int
+fun c: Int
do
do
return 1
end
end
do
do
return 1
end
end
-meth d: Int
+fun d: Int
do
if true then
else
do
if true then
else
@@
-40,7
+40,7
@@
do
return 1
end
return 1
end
-meth e: Int
+fun e: Int
do
while true do
return 1
do
while true do
return 1
@@
-48,7
+48,7
@@
do
return 0
end
return 0
end
-meth f: Int
+fun f: Int
do
if true then
return 1
do
if true then
return 1