Skip to content

Commit be329e9

Browse files
committed
BSDTest: Fix uint32 'not' behavior
Accidentally pointed the test_uint32_not macro at the _test_uint32 implementation instead of the _test_uint32_not, so the condition is wrong.
1 parent 7a739a9 commit be329e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/bsdtests.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ void _test_uint32(const char* file, long line, const char* desc, uint32_t actual
112112
void test_uint32_format(uint32_t actual, uint32_t expected, const char *format, ...) __printflike(3,4);
113113

114114
void _test_uint32_not(const char* file, long line, const char* desc, uint32_t actual, uint32_t unexpected);
115-
#define test_uint32_not(a,b,c) _test_uint32(__SOURCE_FILE__, __LINE__, a, b, c)
115+
#define test_uint32_not(a,b,c) _test_uint32_not(__SOURCE_FILE__, __LINE__, a, b, c)
116116
void test_uint32_not_format(uint32_t actual, uint32_t unexpected, const char *format, ...) __printflike(3,4);
117117

118118
void _test_int32(const char* file, long line, const char* desc, int32_t actual, int32_t expected);

0 commit comments

Comments
 (0)