summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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();
}