Fix Translate AulTest when compiling without string deduplication

liquid_container
Günther Brammer 2016-02-02 01:59:25 +01:00
parent 03d11cd596
commit 1e8dafd75d
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ TEST_F(AulPredefFunctionTest, Translate)
{
// Expect the engine to warn when it can't find a translation
LogMock log;
EXPECT_CALL(log, DebugLogF(R"(WARNING: Translate: no translation for string "%s")", _));
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
EXPECT_EQ(C4VString("a"), RunExpr("Translate(\"a\")"));