Skip to content

Commit

Permalink
test: replace flag expose_internals to expose-internals
Browse files Browse the repository at this point in the history
PR-URL: #32542
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
juanarbol authored and targos committed Apr 11, 2020
1 parent 079a32e commit edf35db
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion test/parallel/test-child-process-bad-stdio.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';
// Flags: --expose_internals
// Flags: --expose-internals
const common = require('../common');
const assert = require('assert');
const cp = require('child_process');
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-child-process-exec-kill-throws.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';
// Flags: --expose_internals
// Flags: --expose-internals
const common = require('../common');
const assert = require('assert');
const cp = require('child_process');
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-child-process-http-socket-leak.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Flags: --expose_internals
// Flags: --expose-internals

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-child-process-spawnsync-kill-signal.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Flags: --expose_internals
// Flags: --expose-internals
'use strict';
const common = require('../common');
const assert = require('assert');
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-child-process-spawnsync-shell.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Flags: --expose_internals
// Flags: --expose-internals
'use strict';
const common = require('../common');
const assert = require('assert');
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-child-process-validate-stdio.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';
// Flags: --expose_internals
// Flags: --expose-internals

const common = require('../common');
const assert = require('assert');
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-child-process-windows-hide.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Flags: --expose_internals
// Flags: --expose-internals
'use strict';
const common = require('../common');
const assert = require('assert');
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-constants.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Flags: --expose_internals
// Flags: --expose-internals
'use strict';

require('../common');
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-fs-open-flags.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

// Flags: --expose_internals
// Flags: --expose-internals
'use strict';
const common = require('../common');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-http2-compat-socket.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Flags: --expose_internals
// Flags: --expose-internals

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-http2-socket-proxy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Flags: --expose_internals
// Flags: --expose-internals

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-icu-stringwidth.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Flags: --expose_internals
// Flags: --expose-internals
'use strict';
const common = require('../common');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-internal-util-decorate-error-stack.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Flags: --expose_internals
// Flags: --expose-internals
'use strict';
require('../common');
const fixtures = require('../common/fixtures');
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-os-checked-function.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';
// Flags: --expose_internals
// Flags: --expose-internals

require('../common');
const { internalBinding } = require('internal/test/binding');
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-readline-interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

// Flags: --expose_internals
// Flags: --expose-internals
'use strict';
const common = require('../common');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-readline-tab-complete.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

// Flags: --expose_internals
// Flags: --expose-internals

const common = require('../common');
const readline = require('readline');
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-repl-history-perm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

// Flags: --expose_internals
// Flags: --expose-internals

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

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ const errorTests = [
expect: '... ... ... undefined'
},
// REPL should get a normal require() function, not one that allows
// access to internal modules without the --expose_internals flag.
// access to internal modules without the --expose-internals flag.
{
send: 'require("internal/repl")',
expect: [
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-safe-get-env.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';
// Flags: --expose_internals
// Flags: --expose-internals

require('../common');
const assert = require('assert');
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-stream-buffer-list.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Flags: --expose_internals
// Flags: --expose-internals
'use strict';
require('../common');
const assert = require('assert');
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-stream2-readable-from-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

// Flags: --expose_internals
// Flags: --expose-internals
'use strict';
require('../common');
const assert = require('assert');
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-tls-parse-cert-string.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const {
restoreStderr
} = require('../common/hijackstdio');
const assert = require('assert');
// Flags: --expose_internals
// Flags: --expose-internals
const internalTLS = require('internal/tls');
const tls = require('tls');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-tls-wrap-timeout.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Flags: --expose_internals
// Flags: --expose-internals

'use strict';
const common = require('../common');
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-util-internal.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';
// Flags: --expose_internals
// Flags: --expose-internals

require('../common');
const assert = require('assert');
Expand Down

0 comments on commit edf35db

Please sign in to comment.