From bc1992b26ed2789f0eb19f6025add257eb1d6cc1 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Mon, 26 Aug 2019 17:09:44 -0400 Subject: [PATCH] tests: add comments in syntax_annotations2.nit Signed-off-by: Jean Privat --- tests/syntax_annotations2.nit | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/tests/syntax_annotations2.nit b/tests/syntax_annotations2.nit index 18dec64..f9db84c 100644 --- 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 - annot + annot # comment annot2 end fun foo1 is @@ -38,7 +38,7 @@ class A 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 @@ -56,3 +56,26 @@ interface Tata 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 -- 1.7.9.5