mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
Tests/LibWeb: Prove we do not fail serialization of empty arrays
This commit is contained in:
parent
77b1469900
commit
d269ac611e
2 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@ Error
|
|||
URIError: hello
|
||||
{"1":2,"a":"b"}
|
||||
1,4,aaaa
|
||||
|
||||
true
|
||||
1
|
||||
true
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
println(structuredClone(new URIError("hello")));
|
||||
println(structuredClone(JSON.stringify({"a": "b", 1: 2})));
|
||||
println(structuredClone([1, 4, "aaaa"]));
|
||||
println(structuredClone([]));
|
||||
println(structuredClone(new Set(["a", "b", "c"])).has("b"));
|
||||
println(structuredClone(new Map([["a", 0], ["b", 1], ["c", 2]])).get("b"));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue