doc comment test

This commit is contained in:
Max Medvedev
2012-12-14 16:25:50 +04:00
parent ed5d7a0d20
commit bd155e199c
@@ -197,6 +197,30 @@ print ''' '''<caret>
""")
}
void testGroovyDoc() {
doTest('''\
/**<caret>
print 2
''', '\n', '''\
/**
* <caret>
*/
print 2
''')
}
void testGroovyDoc2() {
doTest('''\
/**<caret>
class A {}
''', '\n', '''\
/**
* <caret>
*/
class A {}
''')
}
/*
todo uncomment when implemented
void testRegex1() {