nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Test result update for `curl_http`
[nit.git]
/
tests
/
syntax_annotations2.nit
diff --git
a/tests/syntax_annotations2.nit
b/tests/syntax_annotations2.nit
index
18dec64
..
f9db84c
100644
(file)
--- a/
tests/syntax_annotations2.nit
+++ b/
tests/syntax_annotations2.nit
@@
-29,7
+29,7
@@
class A
super Toto is annot
super Tata is annot, annot2
super Titi is
super Toto is annot
super Tata is annot, annot2
super Titi is
- annot
+ annot # comment
annot2
end
fun foo1 is
annot2
end
fun foo1 is
@@
-38,7
+38,7
@@
class A
var x: Toto@foo
end
fun foo2 is annot
var x: Toto@foo
end
fun foo2 is annot
- fun foo3 is annot, annot2
+ fun foo3 is annot, annot2 # comment
fun foo4 is
annot
annot2
fun foo4 is
annot
annot2
@@
-56,3
+56,26
@@
interface Tata
end
interface Titi
end
end
interface Titi
end
+
+fun baz1 is
+end
+fun baz2 is
+ # comment
+
+ # comment
+end
+fun baz3 is
+ # comment
+
+ # doc
+ annot #comment
+
+ # comment
+
+ # comment
+
+ annot2
+ # doc2 bis
+ annot2
+ # comment
+end