Use proper public keyword
This commit is contained in:
@@ -195,6 +195,7 @@ static TestCase s_tests[] = {
|
||||
{"parser_imports", test_parser_imports},
|
||||
{"parser_public_imports", test_parser_public_imports},
|
||||
{"parser_alias_simple", test_parser_alias_simple},
|
||||
{"parser_alias_array", test_parser_alias_array},
|
||||
{"log_error", test_log_error},
|
||||
{"log_on_line", test_log_on_line},
|
||||
{"log_on_line_variadic", test_log_on_line_variadic},
|
||||
@@ -222,6 +223,7 @@ int main(int argc, char** argv) {
|
||||
s_currentTestName = s_tests[i].name;
|
||||
log_set_output(log_append);
|
||||
printf("%s...", s_tests[i].name);
|
||||
fflush(stdout);
|
||||
s_failMsg = NULL;
|
||||
|
||||
if (setjmp(s_testJmp) == 0) {
|
||||
@@ -237,6 +239,7 @@ int main(int argc, char** argv) {
|
||||
printf(" [FAIL]: %s\n", s_failMsg ? s_failMsg : "");
|
||||
failedTests[failedCount++] = s_tests[i].name;
|
||||
}
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
if (s_testSource) free(s_testSource);
|
||||
|
||||
Reference in New Issue
Block a user