diff --git a/src/SDF_TEST.cc b/src/SDF_TEST.cc index f58c5087b..b9e45db43 100644 --- a/src/SDF_TEST.cc +++ b/src/SDF_TEST.cc @@ -567,7 +567,7 @@ TEST(SDF, EmbeddedSpecNonExistent) testing::internal::CaptureStderr(); result = sdf::SDF::EmbeddedSpec("unavailable.sdf", false); output = testing::internal::GetCapturedStderr(); - EXPECT_NE(output.find("Unable to find SDF filename"), std::string::npos) << output; + EXPECT_NE(output.find("Unable to find SDF filename"), std::string::npos); EXPECT_NE(output.find("with version"), std::string::npos); EXPECT_TRUE(result.empty());