Package list ohcount / upstream/latest test / unit / parsers / test_scala.h
upstream/latest

Tree @upstream/latest (Download .tar.gz)

test_scala.h @upstream/latestraw · history · blame

void test_scala_comment_entities() {
  test_parser_verify_entity(
    test_parser_sourcefile("scala", " //comment"),
    "comment", "//comment"
  );
  test_parser_verify_entity(
    test_parser_sourcefile("scala", " /*comment*/"),
    "comment", "/*comment*/"
  );
}

void all_scala_tests() {
  test_scala_comment_entities();
}