mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-06-05 21:15:22 +00:00
Fixed copy and paste error, changed the signature from:
void flushSpy(int c) {}
to:
void flushSpy(void) {}
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
+1
-1
@@ -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