summaryrefslogtreecommitdiffstats
path: root/minadbd/minadbd_services_test.cpp
diff options
context:
space:
mode:
authorxunchang <xunchang@google.com>2019-04-22 21:18:14 +0200
committerTianjie Xu <xunchang@google.com>2019-04-30 00:21:23 +0200
commit5a1916b9bedce04fb79f64b61def1bc53fffb11d (patch)
tree9844b1d1524f153ff3903b2b0bba86956d514438 /minadbd/minadbd_services_test.cpp
parentParse BCB command to enter rescue mode. (diff)
downloadandroid_bootable_recovery-5a1916b9bedce04fb79f64b61def1bc53fffb11d.tar
android_bootable_recovery-5a1916b9bedce04fb79f64b61def1bc53fffb11d.tar.gz
android_bootable_recovery-5a1916b9bedce04fb79f64b61def1bc53fffb11d.tar.bz2
android_bootable_recovery-5a1916b9bedce04fb79f64b61def1bc53fffb11d.tar.lz
android_bootable_recovery-5a1916b9bedce04fb79f64b61def1bc53fffb11d.tar.xz
android_bootable_recovery-5a1916b9bedce04fb79f64b61def1bc53fffb11d.tar.zst
android_bootable_recovery-5a1916b9bedce04fb79f64b61def1bc53fffb11d.zip
Diffstat (limited to 'minadbd/minadbd_services_test.cpp')
-rw-r--r--minadbd/minadbd_services_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/minadbd/minadbd_services_test.cpp b/minadbd/minadbd_services_test.cpp
index 593180bb3..f87873792 100644
--- a/minadbd/minadbd_services_test.cpp
+++ b/minadbd/minadbd_services_test.cpp
@@ -122,7 +122,7 @@ class MinadbdServicesTest : public ::testing::Test {
TEST_F(MinadbdServicesTest, SideloadHostService_wrong_size_argument) {
ASSERT_EXIT(ExecuteCommandAndWaitForExit("sideload-host:abc:4096"),
- ::testing::ExitedWithCode(kMinadbdPackageSizeError), "");
+ ::testing::ExitedWithCode(kMinadbdHostCommandArgumentError), "");
}
TEST_F(MinadbdServicesTest, SideloadHostService_wrong_block_size) {