diff options
author | Tao Bao <tbao@google.com> | 2018-07-10 18:50:33 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-07-10 18:50:33 +0200 |
commit | d8a2c2682a87dcd0d77708333a46a0472b403c9b (patch) | |
tree | 28768203f70081c7d5a76e872618ac0da67b735d /tests | |
parent | Merge "applypatch: Restrict applypatch_check to eMMC targets." (diff) | |
parent | Merge "edify: Remove VAL_INVALID and move ValueType into Value class." (diff) | |
download | android_bootable_recovery-d8a2c2682a87dcd0d77708333a46a0472b403c9b.tar android_bootable_recovery-d8a2c2682a87dcd0d77708333a46a0472b403c9b.tar.gz android_bootable_recovery-d8a2c2682a87dcd0d77708333a46a0472b403c9b.tar.bz2 android_bootable_recovery-d8a2c2682a87dcd0d77708333a46a0472b403c9b.tar.lz android_bootable_recovery-d8a2c2682a87dcd0d77708333a46a0472b403c9b.tar.xz android_bootable_recovery-d8a2c2682a87dcd0d77708333a46a0472b403c9b.tar.zst android_bootable_recovery-d8a2c2682a87dcd0d77708333a46a0472b403c9b.zip |
Diffstat (limited to 'tests')
-rw-r--r-- | tests/component/updater_test.cpp | 4 |
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(); } |