Skip to content

Commit

Permalink
Bug 1862628 [wpt PR 42914] - Replace missed assert in import attrib…
Browse files Browse the repository at this point in the history
…utes tests, a=testonly

Automatic update from web-platform-tests
Replace missed `assert` in import attributes tests

Caught by @gsnedders (web-platform-tests/interop#596 (comment))

I'm not sure how it's possible I replaced just two of the three `assert`s in this file 🙃
--

wpt-commits: 6593bded6f610c2616e53075d42b51d9566a7f54
wpt-pr: 42914
  • Loading branch information
nicolo-ribaudo authored and moz-wptsync-bot committed Nov 22, 2023
1 parent 5da02fb commit b2bbed0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ promise_test(async test => {

promise_test(test => {
return promise_rejects_js(test, TypeError,
import("./export-hello.js", { assert: { type: "notARealType"} } ),
import("./export-hello.js", { with: { type: "notARealType"} } ),
"Dynamic import with an unsupported type attribute should fail");
}, "Dynamic import with an unsupported type attribute should fail");

0 comments on commit b2bbed0

Please sign in to comment.