summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-12-21 03:11:08 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-12-21 03:11:08 +0100
commit80ccac2fffc09ef0b8a1fe43c096788e12359a1d (patch)
tree576ea15da50d8081d937a15b194b675f0f221057 /tests
parentMerge "Let update_verifier work on non-AB update devices" (diff)
parentStartsWith allows a std::string prefix now. (diff)
downloadandroid_bootable_recovery-80ccac2fffc09ef0b8a1fe43c096788e12359a1d.tar
android_bootable_recovery-80ccac2fffc09ef0b8a1fe43c096788e12359a1d.tar.gz
android_bootable_recovery-80ccac2fffc09ef0b8a1fe43c096788e12359a1d.tar.bz2
android_bootable_recovery-80ccac2fffc09ef0b8a1fe43c096788e12359a1d.tar.lz
android_bootable_recovery-80ccac2fffc09ef0b8a1fe43c096788e12359a1d.tar.xz
android_bootable_recovery-80ccac2fffc09ef0b8a1fe43c096788e12359a1d.tar.zst
android_bootable_recovery-80ccac2fffc09ef0b8a1fe43c096788e12359a1d.zip
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/recovery_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/recovery_test.cpp b/tests/manual/recovery_test.cpp
index 92c6ef2d4..64e3b59e6 100644
--- a/tests/manual/recovery_test.cpp
+++ b/tests/manual/recovery_test.cpp
@@ -209,7 +209,7 @@ TEST_P(ResourceTest, ValidateLocale) {
ASSERT_GT(height, y + 1 + h) << "Locale: " << kLocale << " is not found in the file.";
char* loc = reinterpret_cast<char*>(&row[5]);
if (matches_locale(loc, kLocale.c_str())) {
- EXPECT_TRUE(android::base::StartsWith(loc, kLocale.c_str()));
+ EXPECT_TRUE(android::base::StartsWith(loc, kLocale));
break;
} else {
for (int i = 0; i < h; ++i, ++y) {