forked from Mirrors/openclonk
Fix Translate AulTest when compiling without string deduplication
parent
03d11cd596
commit
1e8dafd75d
|
@ -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\")"));
|
||||
|
|
Loading…
Reference in New Issue