mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 00:15:58 +01:00
Fixed copy and paste error, changed the signature from:
void flushSpy(int c) {}
to:
void flushSpy(void) {}
This commit is contained in:
2
test/testdata/testRunnerGenerator.c
vendored
2
test/testdata/testRunnerGenerator.c
vendored
@@ -24,7 +24,7 @@
|
||||
|
||||
/* Include Passthroughs for Linking Tests */
|
||||
void putcharSpy(int c) { (void)putchar(c);}
|
||||
void flushSpy(int c) {}
|
||||
void flushSpy(void) {}
|
||||
|
||||
/* Global Variables Used During These Tests */
|
||||
int CounterSetup = 0;
|
||||
|
||||
2
test/testdata/testRunnerGeneratorSmall.c
vendored
2
test/testdata/testRunnerGeneratorSmall.c
vendored
@@ -16,7 +16,7 @@ TEST_FILE("some_file.c")
|
||||
|
||||
/* Include Passthroughs for Linking Tests */
|
||||
void putcharSpy(int c) { (void)putchar(c);}
|
||||
void flushSpy(int c) {}
|
||||
void flushSpy(void) {}
|
||||
|
||||
/* Global Variables Used During These Tests */
|
||||
int CounterSetup = 0;
|
||||
|
||||
2
test/testdata/testRunnerGeneratorWithMocks.c
vendored
2
test/testdata/testRunnerGeneratorWithMocks.c
vendored
@@ -25,7 +25,7 @@
|
||||
|
||||
/* Include Passthroughs for Linking Tests */
|
||||
void putcharSpy(int c) { (void)putchar(c);}
|
||||
void flushSpy(int c) {}
|
||||
void flushSpy(void) {}
|
||||
|
||||
/* Global Variables Used During These Tests */
|
||||
int CounterSetup = 0;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
/* Include Passthroughs for Linking Tests */
|
||||
void putcharSpy(int c) { (void)putchar(c);}
|
||||
void flushSpy(int c) {}
|
||||
void flushSpy(void) {}
|
||||
|
||||
#define EXPECT_ABORT_BEGIN \
|
||||
if (TEST_PROTECT()) \
|
||||
|
||||
Reference in New Issue
Block a user