Skip to content

Commit 9c182a9

Browse files
authored
fix(testharness): copy-pasta in assert_throws_dom (#46566)
This regressed in #46487
1 parent fe5bef8 commit 9c182a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/testharness.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2174,7 +2174,7 @@
21742174
func = funcOrConstructor;
21752175
description = descriptionOrFunc;
21762176
assert(maybeDescription === undefined,
2177-
"Too many args passed to no-constructor version of promise_rejects_dom, or accidentally explicitly passed undefined");
2177+
"Too many args passed to no-constructor version of assert_throws_dom, or accidentally explicitly passed undefined");
21782178
}
21792179
assert_throws_dom_impl(type, func, description, "assert_throws_dom", constructor)
21802180
}

0 commit comments

Comments
 (0)