From 482fda3a78d188fdaa5a6c1a11ead2d27861e8dc Mon Sep 17 00:00:00 2001 From: WPT Sync Bot Date: Fri, 23 Aug 2019 10:24:44 +0000 Subject: Update web-platform-tests to revision 33c263fb308d1c3f6ac6d2590d7292317262819d --- .../scripting-1/the-script-element/json-module/non-object.any.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/non-object.any.js') diff --git a/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/non-object.any.js b/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/non-object.any.js index 398da56595f..dcbe60f2c2f 100644 --- a/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/non-object.any.js +++ b/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/non-object.any.js @@ -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"); -- cgit v1.2.3