Skip to content

Commit d77c457

Browse files
kr-2003Vipul-Cariappa
authored andcommitted
Adding strne in debug flag
1 parent 72fee63 commit d77c457

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)