diff --git a/test/initial-state.c b/test/initial-state.c index 85be69d..cbf3b81 100644 --- a/test/initial-state.c +++ b/test/initial-state.c @@ -42,13 +42,13 @@ void test_initial_state(TestState *s) { print("Testing initial state\n"); - run_test(s, &initial_test_count); - run_test(s, &initial_pass_count); - run_test(s, &initial_fail_count); - run_test(s, &initial_pend_count); - run_test(s, &initial_first_log); - run_test(s, &initial_last_log); - run_test(s, &initial_ptr); + run_test(s, initial_test_count); + run_test(s, initial_pass_count); + run_test(s, initial_fail_count); + run_test(s, initial_pend_count); + run_test(s, initial_first_log); + run_test(s, initial_last_log); + run_test(s, initial_ptr); } // Internal Functions diff --git a/test/tests.c b/test/tests.c index 91bb7ba..f2e8f90 100644 --- a/test/tests.c +++ b/test/tests.c @@ -33,7 +33,7 @@ static void tests(TestState *); void main() { - run_tests(&tests); + run_tests(tests); exits(0); }