mirror of
https://github.com/servo/servo.git
synced 2025-06-27 18:43:40 +01:00
Update web-platform-tests to revision 33c263fb308d1c3f6ac6d2590d7292317262819d
This commit is contained in:
parent
5bf00c07c2
commit
482fda3a78
524 changed files with 14686 additions and 3270 deletions
|
@ -3,12 +3,12 @@
|
|||
for (const value of [null, true, false, "string"]) {
|
||||
promise_test(async t => {
|
||||
const result = await import(`./${value}.json`);
|
||||
assert_equals(result, value);
|
||||
assert_equals(result.default, value);
|
||||
}, `Non-object: ${value}`);
|
||||
}
|
||||
|
||||
promise_test(async t => {
|
||||
const result = await import("./array.json");
|
||||
assert_array_equals(result, ["en", "try"]);
|
||||
assert_array_equals(result.default, ["en", "try"]);
|
||||
}, "Non-object: array");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue