Skip to content

Commit

Permalink
fix(testharness): copy-pasta in assert_throws_dom (web-platform-tests…
Browse files Browse the repository at this point in the history
  • Loading branch information
zcorpan authored May 31, 2024
1 parent fe5bef8 commit 9c182a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/testharness.js
Original file line number Diff line number Diff line change
Expand Up @@ -2174,7 +2174,7 @@
func = funcOrConstructor;
description = descriptionOrFunc;
assert(maybeDescription === undefined,
"Too many args passed to no-constructor version of promise_rejects_dom, or accidentally explicitly passed undefined");
"Too many args passed to no-constructor version of assert_throws_dom, or accidentally explicitly passed undefined");
}
assert_throws_dom_impl(type, func, description, "assert_throws_dom", constructor)
}
Expand Down

0 comments on commit 9c182a9

Please sign in to comment.