diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-12-21 11:42:06 +0000 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2023-01-17 19:52:52 -0500 |
commit | 1dd6b7f5b787e1893b708ddf58492f9fdd50ae51 (patch) | |
tree | 3f9f665b573fa3097b707b1cc8cb08e1572b34cd /Tests/LibJS | |
parent | efe4329f9fe448eb17784d7a9b9e6e519ec4fa57 (diff) | |
download | serenity-1dd6b7f5b787e1893b708ddf58492f9fdd50ae51.zip |
AK+Everywhere: Rename JsonObject::get() to ::get_deprecated()
This is a preparatory step to making `get()` return `ErrorOr`.
Diffstat (limited to 'Tests/LibJS')
-rw-r--r-- | Tests/LibJS/test262-runner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/LibJS/test262-runner.cpp b/Tests/LibJS/test262-runner.cpp index 81d3a87c15..8d62bec0d8 100644 --- a/Tests/LibJS/test262-runner.cpp +++ b/Tests/LibJS/test262-runner.cpp @@ -432,7 +432,7 @@ static bool verify_test(Result<void, TestError>& result, TestMetadata const& met } if (metadata.is_async && output.has("output"sv)) { - auto& output_messages = output.get("output"sv); + auto& output_messages = output.get_deprecated("output"sv); VERIFY(output_messages.is_string()); if (output_messages.as_string().contains("AsyncTestFailure:InternalError: TODO("sv)) { output.set("todo_error", true); |