Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: replace flag expose_internals to expose-internals #32542

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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