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 28, 2020
1 parent 464ff85 commit 8eb6807
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
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
@@ -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
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
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
@@ -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
@@ -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
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
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
@@ -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
@@ -1,5 +1,5 @@
'use strict';
// Flags: --expose_internals
// Flags: --expose-internals

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

0 comments on commit 8eb6807

Please sign in to comment.