Skip to content

Commit 02e5a59

Browse files
avoid macro in C++ sample
1 parent 7dcd96b commit 02e5a59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/tests/cases/test_sample.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
#include "fossil/test/framework.h"
1717

1818
// Test data structure for a sample test
19-
FOSSIL_TEST_DATA(CppSampleTestData) {
19+
struct CppSampleTestData {
2020
int input;
2121
int expected_output;
22-
}CppSampleTestData;
22+
};
2323

2424
// Setup function for the test suite
2525
FOSSIL_SETUP(cpp_sample_suite) {

0 commit comments

Comments
 (0)