Skip to content

Commit 2d76755

Browse files
Update test_mock.c
1 parent d2909a5 commit 2d76755

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/tests/cases/test_mock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ FOSSIL_TEST(c_mock_io_redirect_stdout_macro) {
360360
char buffer[256];
361361

362362
// Use the macro to redirect stdout and capture output
363-
FOSSIL_MOCK_REDIRECT_STDOUT(buffer, sizeof(buffer), fossil_mockup_mock_function_redirection, NULL);
363+
FOSSIL_MOCK_REDIRECT_STDOUT(buffer, sizeof(buffer), fossil_mockup_mock_function_redirection);
364364

365365
// Test cases
366366
FOSSIL_TEST_ASSUME(strcmp(buffer, "Testing macro redirection!") == 0, "Captured output should match expected output");

0 commit comments

Comments
 (0)