Loading tools/split-select/TestRules.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -75,7 +75,7 @@ const Rule AlwaysTrue() { const char*, const char*, const char*, const char*, const sp<Rule>& actual, const Rule& expected) { const sp<Rule>& actual, const Rule& expected) { const String8 expectedStr(expected.toJson()); const String8 expectedStr(expected.toJson()); const String8 actualStr(actual != NULL ? actual->toJson() : ""); const String8 actualStr(actual != NULL ? actual->toJson() : String8()); if (expectedStr != actualStr) { if (expectedStr != actualStr) { return ::testing::AssertionFailure() return ::testing::AssertionFailure() Loading Loading
tools/split-select/TestRules.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -75,7 +75,7 @@ const Rule AlwaysTrue() { const char*, const char*, const char*, const char*, const sp<Rule>& actual, const Rule& expected) { const sp<Rule>& actual, const Rule& expected) { const String8 expectedStr(expected.toJson()); const String8 expectedStr(expected.toJson()); const String8 actualStr(actual != NULL ? actual->toJson() : ""); const String8 actualStr(actual != NULL ? actual->toJson() : String8()); if (expectedStr != actualStr) { if (expectedStr != actualStr) { return ::testing::AssertionFailure() return ::testing::AssertionFailure() Loading