|
|
@ -370,7 +370,7 @@ int main(void) {
|
|
|
|
test(test_unquoted_keys, "test unquoted keys (like in JavaScript)");
|
|
|
|
test(test_unquoted_keys, "test unquoted keys (like in JavaScript)");
|
|
|
|
test(test_input_length, "test strings that are not null-terminated");
|
|
|
|
test(test_input_length, "test strings that are not null-terminated");
|
|
|
|
test(test_issue_22, "test issue #22");
|
|
|
|
test(test_issue_22, "test issue #22");
|
|
|
|
test(test_issue_27, "test issue #22");
|
|
|
|
test(test_issue_27, "test issue #27");
|
|
|
|
test(test_count, "test tokens count estimation");
|
|
|
|
test(test_count, "test tokens count estimation");
|
|
|
|
test(test_nonstrict, "test for non-strict mode");
|
|
|
|
test(test_nonstrict, "test for non-strict mode");
|
|
|
|
printf("\nPASSED: %d\nFAILED: %d\n", test_passed, test_failed);
|
|
|
|
printf("\nPASSED: %d\nFAILED: %d\n", test_passed, test_failed);
|
|
|
|