Fixes recursion bug in disambiguate_in().
[ohcount] / test / unit / parsers / test_scala.h
1
2 void test_scala_comment_entities() {
3   test_parser_verify_entity(
4     test_parser_sourcefile("scala", " //comment"),
5     "comment", "//comment"
6   );
7   test_parser_verify_entity(
8     test_parser_sourcefile("scala", " /*comment*/"),
9     "comment", "/*comment*/"
10   );
11 }
12
13 void all_scala_tests() {
14   test_scala_comment_entities();
15 }