Closed pJunger closed 6 years ago
Hmm... this breaks all of my tests. It looks like it removes semicolons all over the place where I'm expecting them, like here:
Diff:
@@ -1,2 +1,16 @@
-DECLARE_FAKE_VOID_FUNC0(display_turnOffStatusLed);
+#ifndef mock_display_H
+#define mock_display_H
+
+#include "fff.h"
+#include "fff_unity_helper.h"
+#include "display.h"
+
+
+DECLARE_FAKE_VOID_FUNC0(display_turnOffStatusLed)
+
+void mock_display_Init(void);
+void mock_display_Verify(void);
+void mock_display_Destroy(void);
+
+#endif // mock_display_H
Hi,
when compiling with GCC & the flag -pedantic, "warning: extra ';' [-Wpedantic]" pop up. This path should fix them.