diff options
author | 2023-08-18 19:43:38 +0000 | |
---|---|---|
committer | 2023-08-18 19:43:38 +0000 | |
commit | 9836a1cebb1a95112140c96fad1104d191de391e (patch) | |
tree | b2868830f6884bd31c5444feee6708293c97156a /tools/split-select/TestRules.cpp | |
parent | 5eef9a145702b2069656ff6cfd147adfe1adbaab (diff) | |
parent | 0e91b7269483d6392203606b3a766807d175b4ba (diff) |
Merge "Use String8/16 c_str [tools]" into udc-dev-plus-aosp am: b370693c67 am: 64441287a5 am: 0e91b72694
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/24484497
Change-Id: I1436ad48bfcbe44c5fc67d41f76cd86cd6a62048
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'tools/split-select/TestRules.cpp')
-rw-r--r-- | tools/split-select/TestRules.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/split-select/TestRules.cpp b/tools/split-select/TestRules.cpp index 86ccd6a25c18..ca3c56fe861c 100644 --- a/tools/split-select/TestRules.cpp +++ b/tools/split-select/TestRules.cpp @@ -78,9 +78,8 @@ const Rule AlwaysTrue() { const String8 actualStr(actual != NULL ? actual->toJson() : String8()); if (expectedStr != actualStr) { - return ::testing::AssertionFailure() - << "Expected: " << expectedStr.string() << "\n" - << " Actual: " << actualStr.string(); + return ::testing::AssertionFailure() << "Expected: " << expectedStr.c_str() << "\n" + << " Actual: " << actualStr.c_str(); } return ::testing::AssertionSuccess(); } |