summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-02-06 01:53:25 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-02-06 01:53:25 +0100
commite13b39bbb1ceeecde69f6d6f2e9b1fa4e22cb01e (patch)
tree32f1b845122d8228af0d7388cceb27998a5a8cc9
parentMerge "Add android::fs_mgr namespace for new Fstab code" (diff)
parentRecovery test: Fix an parameter issue in string construction (diff)
downloadandroid_bootable_recovery-e13b39bbb1ceeecde69f6d6f2e9b1fa4e22cb01e.tar
android_bootable_recovery-e13b39bbb1ceeecde69f6d6f2e9b1fa4e22cb01e.tar.gz
android_bootable_recovery-e13b39bbb1ceeecde69f6d6f2e9b1fa4e22cb01e.tar.bz2
android_bootable_recovery-e13b39bbb1ceeecde69f6d6f2e9b1fa4e22cb01e.tar.lz
android_bootable_recovery-e13b39bbb1ceeecde69f6d6f2e9b1fa4e22cb01e.tar.xz
android_bootable_recovery-e13b39bbb1ceeecde69f6d6f2e9b1fa4e22cb01e.tar.zst
android_bootable_recovery-e13b39bbb1ceeecde69f6d6f2e9b1fa4e22cb01e.zip
-rw-r--r--tests/component/install_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/component/install_test.cpp b/tests/component/install_test.cpp
index 27a01cb32..47a54714c 100644
--- a/tests/component/install_test.cpp
+++ b/tests/component/install_test.cpp
@@ -439,8 +439,8 @@ TEST(InstallTest, CheckPackageMetadata_multiple_serial_number) {
std::vector<std::string> serial_numbers;
// Creates a dummy serial number string.
- for (size_t c = 'a'; c <= 'z'; c++) {
- serial_numbers.emplace_back(c, serialno.size());
+ for (char c = 'a'; c <= 'z'; c++) {
+ serial_numbers.emplace_back(serialno.size(), c);
}
// No matched serialno found.