summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-07-10 19:05:39 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-07-10 19:05:39 +0200
commit6f60263d5ee8008d2f611cb6c49d7b70d0077431 (patch)
tree28768203f70081c7d5a76e872618ac0da67b735d /tests
parentMerge "applypatch: Restrict applypatch_check to eMMC targets." am: e02cbaaa62 am: 254d43a3b9 (diff)
parentMerge "edify: Remove VAL_INVALID and move ValueType into Value class." am: 503ff38043 (diff)
downloadandroid_bootable_recovery-6f60263d5ee8008d2f611cb6c49d7b70d0077431.tar
android_bootable_recovery-6f60263d5ee8008d2f611cb6c49d7b70d0077431.tar.gz
android_bootable_recovery-6f60263d5ee8008d2f611cb6c49d7b70d0077431.tar.bz2
android_bootable_recovery-6f60263d5ee8008d2f611cb6c49d7b70d0077431.tar.lz
android_bootable_recovery-6f60263d5ee8008d2f611cb6c49d7b70d0077431.tar.xz
android_bootable_recovery-6f60263d5ee8008d2f611cb6c49d7b70d0077431.tar.zst
android_bootable_recovery-6f60263d5ee8008d2f611cb6c49d7b70d0077431.zip
Diffstat (limited to '')
-rw-r--r--tests/component/updater_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/component/updater_test.cpp b/tests/component/updater_test.cpp
index f50e861b0..8e520f337 100644
--- a/tests/component/updater_test.cpp
+++ b/tests/component/updater_test.cpp
@@ -149,11 +149,11 @@ static Value* BlobToString(const char* name, State* state,
return nullptr;
}
- if (args[0]->type != VAL_BLOB) {
+ if (args[0]->type != Value::Type::BLOB) {
return ErrorAbort(state, kArgsParsingFailure, "%s() expects a BLOB argument", name);
}
- args[0]->type = VAL_STRING;
+ args[0]->type = Value::Type::STRING;
return args[0].release();
}