Skip to content

Commit edf35db

Browse files
juanarboltargos
authored andcommitted
test: replace flag expose_internals to expose-internals
PR-URL: #32542 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 079a32e commit edf35db

24 files changed

+24
-24
lines changed

test/parallel/test-child-process-bad-stdio.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
2-
// Flags: --expose_internals
2+
// Flags: --expose-internals
33
const common = require('../common');
44
const assert = require('assert');
55
const cp = require('child_process');

test/parallel/test-child-process-exec-kill-throws.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
2-
// Flags: --expose_internals
2+
// Flags: --expose-internals
33
const common = require('../common');
44
const assert = require('assert');
55
const cp = require('child_process');

test/parallel/test-child-process-http-socket-leak.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose_internals
1+
// Flags: --expose-internals
22

33
'use strict';
44

test/parallel/test-child-process-spawnsync-kill-signal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose_internals
1+
// Flags: --expose-internals
22
'use strict';
33
const common = require('../common');
44
const assert = require('assert');

test/parallel/test-child-process-spawnsync-shell.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose_internals
1+
// Flags: --expose-internals
22
'use strict';
33
const common = require('../common');
44
const assert = require('assert');

test/parallel/test-child-process-validate-stdio.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
2-
// Flags: --expose_internals
2+
// Flags: --expose-internals
33

44
const common = require('../common');
55
const assert = require('assert');

test/parallel/test-child-process-windows-hide.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose_internals
1+
// Flags: --expose-internals
22
'use strict';
33
const common = require('../common');
44
const assert = require('assert');

test/parallel/test-constants.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose_internals
1+
// Flags: --expose-internals
22
'use strict';
33

44
require('../common');

test/parallel/test-fs-open-flags.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
2020
// USE OR OTHER DEALINGS IN THE SOFTWARE.
2121

22-
// Flags: --expose_internals
22+
// Flags: --expose-internals
2323
'use strict';
2424
const common = require('../common');
2525

test/parallel/test-http2-compat-socket.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose_internals
1+
// Flags: --expose-internals
22

33
'use strict';
44

test/parallel/test-http2-socket-proxy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose_internals
1+
// Flags: --expose-internals
22

33
'use strict';
44

test/parallel/test-icu-stringwidth.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose_internals
1+
// Flags: --expose-internals
22
'use strict';
33
const common = require('../common');
44

test/parallel/test-internal-util-decorate-error-stack.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose_internals
1+
// Flags: --expose-internals
22
'use strict';
33
require('../common');
44
const fixtures = require('../common/fixtures');

test/parallel/test-os-checked-function.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
2-
// Flags: --expose_internals
2+
// Flags: --expose-internals
33

44
require('../common');
55
const { internalBinding } = require('internal/test/binding');

test/parallel/test-readline-interface.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
2020
// USE OR OTHER DEALINGS IN THE SOFTWARE.
2121

22-
// Flags: --expose_internals
22+
// Flags: --expose-internals
2323
'use strict';
2424
const common = require('../common');
2525

test/parallel/test-readline-tab-complete.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
// Flags: --expose_internals
3+
// Flags: --expose-internals
44

55
const common = require('../common');
66
const readline = require('readline');

test/parallel/test-repl-history-perm.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// Verifies that the REPL history file is created with mode 0600
44

5-
// Flags: --expose_internals
5+
// Flags: --expose-internals
66

77
const common = require('../common');
88

test/parallel/test-repl.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ const errorTests = [
560560
expect: '... ... ... undefined'
561561
},
562562
// REPL should get a normal require() function, not one that allows
563-
// access to internal modules without the --expose_internals flag.
563+
// access to internal modules without the --expose-internals flag.
564564
{
565565
send: 'require("internal/repl")',
566566
expect: [

test/parallel/test-safe-get-env.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
2-
// Flags: --expose_internals
2+
// Flags: --expose-internals
33

44
require('../common');
55
const assert = require('assert');

test/parallel/test-stream-buffer-list.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose_internals
1+
// Flags: --expose-internals
22
'use strict';
33
require('../common');
44
const assert = require('assert');

test/parallel/test-stream2-readable-from-list.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
2020
// USE OR OTHER DEALINGS IN THE SOFTWARE.
2121

22-
// Flags: --expose_internals
22+
// Flags: --expose-internals
2323
'use strict';
2424
require('../common');
2525
const assert = require('assert');

test/parallel/test-tls-parse-cert-string.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const {
1010
restoreStderr
1111
} = require('../common/hijackstdio');
1212
const assert = require('assert');
13-
// Flags: --expose_internals
13+
// Flags: --expose-internals
1414
const internalTLS = require('internal/tls');
1515
const tls = require('tls');
1616

test/parallel/test-tls-wrap-timeout.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose_internals
1+
// Flags: --expose-internals
22

33
'use strict';
44
const common = require('../common');

test/parallel/test-util-internal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
2-
// Flags: --expose_internals
2+
// Flags: --expose-internals
33

44
require('../common');
55
const assert = require('assert');

0 commit comments

Comments
 (0)