mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-24 00:45:58 +01:00
Change comments style in unity and test runner to compile with std=c89
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* AUTOGENERATED FILE. DO NOT EDIT. */
|
||||
|
||||
//=======Test Runner Used To Run Each Test Below=====
|
||||
/*=======Test Runner Used To Run Each Test Below=====*/
|
||||
#define RUN_TEST_NO_ARGS
|
||||
#define RUN_TEST(TestFunc, TestLineNum, ...) \
|
||||
{ \
|
||||
@@ -19,7 +19,7 @@
|
||||
UnityConcludeTest(); \
|
||||
}
|
||||
|
||||
//=======Automagically Detected Files To Include=====
|
||||
/*=======Automagically Detected Files To Include=====*/
|
||||
#include "unity.h"
|
||||
#include <setjmp.h>
|
||||
#include <stdio.h>
|
||||
@@ -27,7 +27,7 @@
|
||||
#include "stanky.h"
|
||||
#include <setjmp.h>
|
||||
|
||||
//=======External Functions This Runner Calls=====
|
||||
/*=======External Functions This Runner Calls=====*/
|
||||
extern void setUp(void);
|
||||
extern void tearDown(void);
|
||||
extern void test_TheFirstThingToTest(void);
|
||||
@@ -36,7 +36,7 @@ extern void test_TheThirdThingToTest(void);
|
||||
extern void test_TheFourthThingToTest(void);
|
||||
|
||||
|
||||
//=======Test Reset Option=====
|
||||
/*=======Test Reset Option=====*/
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
@@ -45,7 +45,7 @@ void resetTest(void)
|
||||
}
|
||||
|
||||
|
||||
//=======MAIN=====
|
||||
/*=======MAIN=====*/
|
||||
int main(void)
|
||||
{
|
||||
UnityBegin("testdata/testsample.c");
|
||||
|
||||
Reference in New Issue
Block a user