2 void test_haml_comment() {
3 test_parser_verify_parse(
4 test_parser_sourcefile("haml", "/ comment"),
5 "haml", "", "/ comment", 0
9 void test_haml_element() {
10 test_parser_verify_parse(
11 test_parser_sourcefile("haml", " %code"),
12 "haml", "%code", "", 0
16 void test_haml_comment_entities() {
17 test_parser_verify_entity(
18 test_parser_sourcefile("haml", " %element"),
21 test_parser_verify_entity(
22 test_parser_sourcefile("haml", " .class"),
23 "element_class", ".class"
25 test_parser_verify_entity(
26 test_parser_sourcefile("haml", " #id"),
31 void all_haml_tests() {
34 test_haml_comment_entities();