Aul tests: stop GMock from complaining about uninteresting log calls

liquid_container
Nicolas Hake 2016-04-23 17:11:53 +02:00
parent caf44e2473
commit d21f75829d
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ using ::testing::_;
TEST_F(AulPredefFunctionTest, Translate)
{
// Expect the engine to warn when it can't find a translation
LogMock log;
::testing::NiceMock<LogMock> log;
EXPECT_CALL(log, DebugLogF(testing::StrEq(R"(WARNING: Translate: no translation for string "%s")"), _));
EXPECT_CALL(log, DebugLog(StartsWith(" by: "))).Times(AnyNumber()); // ignore stack trace