Skip to content

Commit

Permalink
[Jazzy][Test] Don't check the error message in assertThrowsError()
Browse files Browse the repository at this point in the history
Fix: #968
  • Loading branch information
minggangw committed May 28, 2024
1 parent 5db31be commit 41c5cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function assertThrowsError(operation, errors, errMsg, message) {
if (err instanceof e) foundError = true;
});
return foundError;
} else if (err instanceof errors && containedMsg.test(err)) {
} else if (err instanceof errors) {
return true;
}

Expand Down

0 comments on commit 41c5cdd

Please sign in to comment.