Skip to content

Commit c40e528

Browse files
committed
Remove more error.operator tests
1 parent 4e62553 commit c40e528

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/parallel/test-assert.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ assert.throws(
147147
{
148148
name: 'AssertionError',
149149
code: 'ERR_ASSERTION',
150-
operator: 'doesNotThrow',
150+
// operator: 'doesNotThrow',
151151
// message: 'Got unwanted exception: user message\n' +
152152
// 'Actual message: "[object Object]"'
153153
}
@@ -213,7 +213,7 @@ a.throws(() => thrower(TypeError), (err) => {
213213
{
214214
code: 'ERR_ASSERTION',
215215
// message: 'Missing expected exception.',
216-
operator: 'throws',
216+
// operator: 'throws',
217217
actual: undefined,
218218
expected: undefined
219219
});
@@ -1094,7 +1094,7 @@ assert.throws(
10941094
expected
10951095
),
10961096
{
1097-
operator: 'throws',
1097+
// operator: 'throws',
10981098
actual,
10991099
expected,
11001100
// generatedMessage: true,
@@ -1117,7 +1117,7 @@ assert.throws(
11171117
{
11181118
actual,
11191119
message,
1120-
operator: 'throws',
1120+
// operator: 'throws',
11211121
generatedMessage: false
11221122
}
11231123
);

0 commit comments

Comments
 (0)