2 void test_lua_comments() {
3 test_parser_verify_parse(
4 test_parser_sourcefile("lua", " -- comment"),
5 "lua", "", "-- comment", 0
9 void test_lua_comment_entities() {
10 test_parser_verify_entity(
11 test_parser_sourcefile("lua", " --comment"),
12 "comment", "--comment"
14 test_parser_verify_entity(
15 test_parser_sourcefile("lua", " --[[comment\ncomment]]"),
16 "comment", "--[[comment\ncomment]]"
20 void all_lua_tests() {
22 test_lua_comment_entities();