summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-02-06 05:02:57 +0100
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-02-06 05:02:57 +0100
commitd30f52153f2174f6eec4adfc358f14b8cc8fa9db (patch)
treec3921ecea4c27b2511629b3d62acd6e7bd4cd3a2
parentSnap for 5280121 from 25bfb1bea9214ffe6f6969036322a45785cb6f7f to qt-release (diff)
parentMerge "Recovery test: Fix an parameter issue in string construction" am: e13b39bbb1 am: 644e290d2d (diff)
downloadandroid_bootable_recovery-d30f52153f2174f6eec4adfc358f14b8cc8fa9db.tar
android_bootable_recovery-d30f52153f2174f6eec4adfc358f14b8cc8fa9db.tar.gz
android_bootable_recovery-d30f52153f2174f6eec4adfc358f14b8cc8fa9db.tar.bz2
android_bootable_recovery-d30f52153f2174f6eec4adfc358f14b8cc8fa9db.tar.lz
android_bootable_recovery-d30f52153f2174f6eec4adfc358f14b8cc8fa9db.tar.xz
android_bootable_recovery-d30f52153f2174f6eec4adfc358f14b8cc8fa9db.tar.zst
android_bootable_recovery-d30f52153f2174f6eec4adfc358f14b8cc8fa9db.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.