make "all tests passed" message uniform

This commit is contained in:
m-hgn 2023-05-01 23:49:11 +02:00
parent e41e696d46
commit 2864ba7771
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ int main(void) {
all_valid &= validate(result, expected3, sizeof(initial3) / sizeof(int));
free(result);
printf(all_valid ? "all tests passed.\n" : "tests failed.\n");
printf(all_valid ? "all tests passed\n" : "tests failed\n");
return 0;
}

View File

@ -47,5 +47,5 @@ main :: proc() {
expected = [dynamic]int{1, 2, 3, 6, 9, 12, 15, 14, 13, 10, 7, 4, 5, 8, 11}
fmt.println(eq(snail(initial)[:], expected[:]))
fmt.println("all tests passed.")
fmt.println("all tests passed")
}