Skip to content

Commit b9308b7

Browse files
committed
squash: rename from can to must in tests
1 parent fbeb949 commit b9308b7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

test/parallel/test-fs-options-immutable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const common = require('../common');
99
const fs = require('fs');
1010
const path = require('path');
1111

12-
const options = common.canNotMutateObjectDeep({});
12+
const options = common.mustNotMutateObjectDeep({});
1313
const tmpdir = require('../common/tmpdir');
1414
tmpdir.refresh();
1515

test/parallel/test-https-agent-create-connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ function createServer() {
139139
server.listen(0, common.mustCall(() => {
140140
const port = server.address().port;
141141
const host = 'localhost';
142-
const options = common.canNotMutateObjectDeep({
142+
const options = common.mustNotMutateObjectDeep({
143143
port: 3000,
144144
rejectUnauthorized: false,
145145
});

test/parallel/test-https-argument-of-creating.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const dftProtocol = {};
1212

1313
// Test for immutable `opts`
1414
{
15-
const opts = common.canNotMutateObjectDeep({
15+
const opts = common.mustNotMutateObjectDeep({
1616
foo: 'bar',
1717
ALPNProtocols: [ 'http/1.1' ],
1818
});

0 commit comments

Comments
 (0)