Skip to content

Commit 384234e

Browse files
committed
fix expected exception
1 parent a7fef80 commit 384234e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/parallel/test-code-integrity.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('cjs loader code integrity integration tests', () => {
1717
require('../fixtures/code_integrity_test.js');
1818
},
1919
{
20-
code: 'ERR_INTEGRITY_VIOLATION',
20+
code: 'ERR_CODE_INTEGRITY_VIOLATION',
2121
},
2222
);
2323
}
@@ -40,7 +40,7 @@ describe('cjs loader code integrity integration tests', () => {
4040
require('../fixtures/code_integrity_test.json');
4141
},
4242
{
43-
code: 'ERR_INTEGRITY_VIOLATION',
43+
code: 'ERR_CODE_INTEGRITY_VIOLATION',
4444
},
4545
);
4646
}
@@ -63,7 +63,7 @@ describe('cjs loader code integrity integration tests', () => {
6363
require('../fixtures/code_integrity_test.node');
6464
},
6565
{
66-
code: 'ERR_INTEGRITY_VIOLATION',
66+
code: 'ERR_CODE_INTEGRITY_VIOLATION',
6767
},
6868
);
6969
}

0 commit comments

Comments
 (0)