Skip to content

Commit f7b5eac

Browse files
addaleaxTrott
authored andcommittedOct 10, 2019
test: remove unnecessary --expose-internals flags
PR-URL: nodejs#29886 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 4885e50 commit f7b5eac

34 files changed

+1
-42
lines changed
 

‎test/async-hooks/test-httpparser.request.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32

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

‎test/async-hooks/test-httpparser.response.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32

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

‎test/common/inspector-helper.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const http = require('http');
66
const fixtures = require('../common/fixtures');
77
const { spawn } = require('child_process');
88
const { parse: parseURL } = require('url');
9-
const { pathToFileURL } = require('internal/url');
9+
const { pathToFileURL } = require('url');
1010
const { EventEmitter } = require('events');
1111

1212
const _MAINSCRIPT = fixtures.path('loop.js');

‎test/parallel/test-bootstrap-modules.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32

43
// This list must be computed before we require any modules to

‎test/parallel/test-http2-compat-errors.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32

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

‎test/parallel/test-http2-compat-serverresponse-close.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32

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

‎test/parallel/test-http2-server-errors.js

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Flags: --expose-internals
21
'use strict';
3-
42
const common = require('../common');
53
if (!common.hasCrypto)
64
common.skip('missing crypto');

‎test/parallel/test-http2-session-unref.js

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
'use strict';
2-
// Flags: --expose-internals
3-
42
// Tests that calling unref() on Http2Session:
53
// (1) Prevents it from keeping the process alive
64
// (2) Doesn't crash

‎test/parallel/test-inspect-async-hook-setup-at-inspect.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43
common.skipIfInspectorDisabled();

‎test/parallel/test-inspector-esm.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43

‎test/parallel/test-inspector-multisession-ws.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43

‎test/parallel/test-inspector-reported-host.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43

‎test/parallel/test-inspector-wait-for-connection.js

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// Flags: --expose-internals
2-
31
'use strict';
42
const common = require('../common');
53

‎test/parallel/test-inspector-waiting-for-disconnect.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43

‎test/sequential/test-http-regr-gh-2928.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// This test is designed to fail with a segmentation fault in Node.js 4.1.0 and
22
// execute without issues in Node.js 4.1.1 and up.
33

4-
// Flags: --expose-internals
54
'use strict';
65
const common = require('../common');
76
const assert = require('assert');

‎test/sequential/test-inspector-async-hook-setup-at-inspect-brk.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43
common.skipIfInspectorDisabled();

‎test/sequential/test-inspector-async-stack-traces-promise-then.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43
common.skipIfInspectorDisabled();

‎test/sequential/test-inspector-async-stack-traces-set-interval.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43
common.skipIfInspectorDisabled();

‎test/sequential/test-inspector-break-e.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43
common.skipIfInspectorDisabled();

‎test/sequential/test-inspector-break-when-eval.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43
common.skipIfInspectorDisabled();

‎test/sequential/test-inspector-console.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32

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

‎test/sequential/test-inspector-debug-brk-flag.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43

‎test/sequential/test-inspector-debug-end.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43
common.skipIfInspectorDisabled();

‎test/sequential/test-inspector-exception.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43
const fixtures = require('../common/fixtures');

‎test/sequential/test-inspector-ip-detection.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43

‎test/sequential/test-inspector-not-blocked-on-idle.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43
common.skipIfInspectorDisabled();

‎test/sequential/test-inspector-runtime-evaluate-with-timeout.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32

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

‎test/sequential/test-inspector-scriptparsed-context.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43
common.skipIfInspectorDisabled();

‎test/sequential/test-inspector-stop-profile-after-done.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43
common.skipIfInspectorDisabled();

‎test/sequential/test-inspector-stress-http.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43

‎test/sequential/test-inspector.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals
21
'use strict';
32
const common = require('../common');
43

‎test/wpt/test-console.js

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
'use strict';
2-
3-
// Flags: --expose-internals
4-
52
require('../common');
63
const { WPTRunner } = require('../common/wpt');
74

‎test/wpt/test-encoding.js

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
'use strict';
2-
3-
// Flags: --expose-internals
4-
52
require('../common');
63
const { MessageChannel } = require('worker_threads');
74
const { WPTRunner } = require('../common/wpt');

‎test/wpt/test-microtask-queuing.js

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

3-
// Flags: --expose-internals
4-
53
require('../common');
64
const { WPTRunner } = require('../common/wpt');
75

0 commit comments

Comments
 (0)
Please sign in to comment.