From 511d75962789837231459e53e86eaaa6a1ff6e06 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Tue, 19 Jun 2018 15:56:49 -0700 Subject: edify: Remove VAL_INVALID and move ValueType into Value class. Test: mmma -j bootable/recovery Test: Run recovery_component_test and recovery_unit_test on marlin. Change-Id: I4b240e3e771c387b9694be9c0f2f74e0265ab4cb --- tests/component/updater_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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(); } -- cgit v1.2.3