mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-15 23:09:05 +00:00
AK+Everywhere: Remove the char const*
JSON value constructor
This commit is contained in:
parent
ee70f1327a
commit
70eb0ba1cd
Notes:
github-actions[bot]
2025-02-21 00:29:35 +00:00
Author: https://github.com/trflynn89
Commit: 70eb0ba1cd
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3631
Reviewed-by: https://github.com/awesomekling ✅
10 changed files with 35 additions and 35 deletions
|
@ -158,9 +158,9 @@ TEST_CASE(json_64_bit_value_coerced_to_32_bit)
|
|||
TEST_CASE(json_duplicate_keys)
|
||||
{
|
||||
JsonObject json;
|
||||
json.set("test", "foo");
|
||||
json.set("test", "bar");
|
||||
json.set("test", "baz");
|
||||
json.set("test", "foo"sv);
|
||||
json.set("test", "bar"sv);
|
||||
json.set("test", "baz"sv);
|
||||
EXPECT_EQ(json.to_byte_string(), "{\"test\":\"baz\"}");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue