Skip to content

Commit cabd5e7

Browse files
committed
fix log test
1 parent 272bd66 commit cabd5e7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/utils/utils_log.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ int fput_count = 0;
3131

3232
int mock_fputs(const char *s, FILE *stream) {
3333
fput_count++;
34+
#ifndef UMF_DEVELOPER_MODE
3435
if (!expected_message.empty()) {
3536
EXPECT_STREQ(s, expected_message.c_str());
3637
}
38+
#endif
3739
EXPECT_EQ(stream, expected_stream);
3840
return (int)strlen(s);
3941
}

0 commit comments

Comments
 (0)