authorgravatar for thejoshwolfe@gmail.comJosh Wolfe <thejoshwolfe@gmail.com> 2015-12-03 12:25:27-07:00
committergravatar for thejoshwolfe@gmail.comJosh Wolfe <thejoshwolfe@gmail.com> 2015-12-03 12:25:27-07:00
log90565a5109116f0c689215d28ea14d3f4d046c81
tree60ae9c8a38e0fad9734092a4f16b48d500609327
parent22fccdbb0d771897568dd6f1603102007a5d2c5b

correkt spelling error


1 files changed, 4 insertions(+), 4 deletions(-)

test/run_tests.cpp+4-4
......@@ -406,7 +406,7 @@ fn f() {
406406
407407}
408408
409static void print_compiler_invokation(TestCase *test_case, Buf *zig_stderr) {
409static void print_compiler_invocation(TestCase *test_case, Buf *zig_stderr) {
410410 printf("%s", zig_exe);
411411 for (int i = 0; i < test_case->compiler_args.length; i += 1) {
412412 printf(" %s", test_case->compiler_args.at(i));
......@@ -437,21 +437,21 @@ static void run_test(TestCase *test_case) {
437437 printf("========= Expected this compile error: =========\n");
438438 printf("%s\n", err_text);
439439 printf("================================================\n");
440 print_compiler_invokation(test_case, &zig_stderr);
440 print_compiler_invocation(test_case, &zig_stderr);
441441 exit(1);
442442 }
443443 }
444444 return; // success
445445 } else {
446446 printf("\nCompile failed with return code 0 (Expected failure):\n");
447 print_compiler_invokation(test_case, &zig_stderr);
447 print_compiler_invocation(test_case, &zig_stderr);
448448 exit(1);
449449 }
450450 }
451451
452452 if (return_code != 0) {
453453 printf("\nCompile failed with return code %d:\n", return_code);
454 print_compiler_invokation(test_case, &zig_stderr);
454 print_compiler_invocation(test_case, &zig_stderr);
455455 exit(1);
456456 }
457457