summaryrefslogtreecommitdiffstats
path: root/tests/component/updater_test.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-07-10 18:34:56 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-07-10 18:34:56 +0200
commit503ff38043fc333800bbaa56bb5be66656c2cdae (patch)
tree25e167440b5c06697a6b91640afd71be2fd965a6 /tests/component/updater_test.cpp
parentMerge "applypatch: Restrict applypatch_check to eMMC targets." (diff)
parentedify: Remove VAL_INVALID and move ValueType into Value class. (diff)
downloadandroid_bootable_recovery-503ff38043fc333800bbaa56bb5be66656c2cdae.tar
android_bootable_recovery-503ff38043fc333800bbaa56bb5be66656c2cdae.tar.gz
android_bootable_recovery-503ff38043fc333800bbaa56bb5be66656c2cdae.tar.bz2
android_bootable_recovery-503ff38043fc333800bbaa56bb5be66656c2cdae.tar.lz
android_bootable_recovery-503ff38043fc333800bbaa56bb5be66656c2cdae.tar.xz
android_bootable_recovery-503ff38043fc333800bbaa56bb5be66656c2cdae.tar.zst
android_bootable_recovery-503ff38043fc333800bbaa56bb5be66656c2cdae.zip
Diffstat (limited to 'tests/component/updater_test.cpp')
-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();
}