Skip to content

Commit 95caa87

Browse files
author
kr-2003
committed
Adding strne in debug flag
1 parent ee45c31 commit 95caa87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittests/CppInterOp/InterpreterTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ TEST(InterpreterTest, DebugFlag) {
5252
testing::internal::CaptureStderr();
5353
Cpp::Process("int b = 12;");
5454
cerrs = testing::internal::GetCapturedStderr();
55-
EXPECT_STREQ(cerrs.c_str(), "");
55+
EXPECT_STRNE(cerrs.c_str(), "");
5656

5757
Cpp::EnableDebugOutput(false);
5858
EXPECT_FALSE(Cpp::IsDebugOutputEnabled());

0 commit comments

Comments
 (0)