diff options
author | Tianjie Xu <xunchang@google.com> | 2019-04-23 20:04:48 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-04-23 20:04:48 +0200 |
commit | 05e295b755ef0e85a69f7c3f4bee95be35c7d8d2 (patch) | |
tree | ab6e894d70a688599fb37cbbdeb2cc98cd51bee4 /tests | |
parent | Merge "minadbd: Support rescue install and getprop commands." (diff) | |
parent | Merge changes Ibdb7dd0b,Iafd3e846 (diff) | |
download | android_bootable_recovery-05e295b755ef0e85a69f7c3f4bee95be35c7d8d2.tar android_bootable_recovery-05e295b755ef0e85a69f7c3f4bee95be35c7d8d2.tar.gz android_bootable_recovery-05e295b755ef0e85a69f7c3f4bee95be35c7d8d2.tar.bz2 android_bootable_recovery-05e295b755ef0e85a69f7c3f4bee95be35c7d8d2.tar.lz android_bootable_recovery-05e295b755ef0e85a69f7c3f4bee95be35c7d8d2.tar.xz android_bootable_recovery-05e295b755ef0e85a69f7c3f4bee95be35c7d8d2.tar.zst android_bootable_recovery-05e295b755ef0e85a69f7c3f4bee95be35c7d8d2.zip |
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/locale_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/locale_test.cpp b/tests/unit/locale_test.cpp index cdaba0e8b..c69434c12 100644 --- a/tests/unit/locale_test.cpp +++ b/tests/unit/locale_test.cpp @@ -27,7 +27,7 @@ TEST(LocaleTest, Misc) { EXPECT_FALSE(matches_locale("en-GB", "en")); EXPECT_FALSE(matches_locale("en-GB", "en-US")); EXPECT_FALSE(matches_locale("en-US", "")); - // Empty locale prefix in the PNG file will match the input locale. - EXPECT_TRUE(matches_locale("", "en-US")); + // Empty locale prefix in the PNG file should not match the input locale. + EXPECT_FALSE(matches_locale("", "en-US")); EXPECT_TRUE(matches_locale("sr-Latn", "sr-Latn-BA")); } |