mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:27:45 +00:00
AK+Everywhere: Rename JsonObject::get() to ::get_deprecated()
This is a preparatory step to making `get()` return `ErrorOr`.
This commit is contained in:
parent
efe4329f9f
commit
1dd6b7f5b7
76 changed files with 671 additions and 671 deletions
|
@ -30,13 +30,13 @@ TEST_SETUP
|
|||
auto testcase = tests[i].as_object();
|
||||
|
||||
auto name = DeprecatedString::formatted("{}_ex{}_{}..{}",
|
||||
testcase.get("section"sv),
|
||||
testcase.get("example"sv),
|
||||
testcase.get("start_line"sv),
|
||||
testcase.get("end_line"sv));
|
||||
testcase.get_deprecated("section"sv),
|
||||
testcase.get_deprecated("example"sv),
|
||||
testcase.get_deprecated("start_line"sv),
|
||||
testcase.get_deprecated("end_line"sv));
|
||||
|
||||
DeprecatedString markdown = testcase.get("markdown"sv).as_string();
|
||||
DeprecatedString html = testcase.get("html"sv).as_string();
|
||||
DeprecatedString markdown = testcase.get_deprecated("markdown"sv).as_string();
|
||||
DeprecatedString html = testcase.get_deprecated("html"sv).as_string();
|
||||
|
||||
Test::TestSuite::the().add_case(adopt_ref(*new Test::TestCase(
|
||||
name, [markdown, html]() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue