Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d7609a7

Browse filesBrowse files
ashleysimpsonMylesBorins
authored andcommitted
test: inline common module boolean
PR-URL: #23479 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent 45fbcbb commit d7609a7
Copy full SHA for d7609a7

File tree

Expand file treeCollapse file tree

4 files changed

+1
-10
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

4 files changed

+1
-10
lines changed
Open diff view settings
Collapse file

‎test/addons/load-long-path/test.js‎

Copy file name to clipboardExpand all lines: test/addons/load-long-path/test.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22
const common = require('../../common');
3-
if (common.isWOW64)
3+
if (common.isWindows && (process.env.PROCESSOR_ARCHITEW6432 !== undefined))
44
common.skip('doesn\'t work on WOW64');
55

66
const fs = require('fs');
Collapse file

‎test/common/README.md‎

Copy file name to clipboardExpand all lines: test/common/README.md
-5Lines changed: 0 additions & 5 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,6 @@ Platform check for SunOS.
213213

214214
Platform check for Windows.
215215

216-
### isWOW64
217-
* [&lt;boolean>]
218-
219-
Platform check for Windows 32-bit on Windows 64-bit.
220-
221216
### localhostIPv4
222217
* [&lt;string>]
223218

Collapse file

‎test/common/index.js‎

Copy file name to clipboardExpand all lines: test/common/index.js
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ const isMainThread = (() => {
4747
})();
4848

4949
const isWindows = process.platform === 'win32';
50-
const isWOW64 = isWindows && (process.env.PROCESSOR_ARCHITEW6432 !== undefined);
5150
const isAIX = process.platform === 'aix';
5251
const isLinuxPPCBE = (process.platform === 'linux') &&
5352
(process.arch === 'ppc64') &&
@@ -720,7 +719,6 @@ module.exports = {
720719
isOSX,
721720
isSunOS,
722721
isWindows,
723-
isWOW64,
724722
localIPv6Hosts,
725723
mustCall,
726724
mustCallAsync,
Collapse file

‎test/common/index.mjs‎

Copy file name to clipboardExpand all lines: test/common/index.mjs
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import common from './index.js';
55
const {
66
isMainThread,
77
isWindows,
8-
isWOW64,
98
isAIX,
109
isLinuxPPCBE,
1110
isSunOS,
@@ -54,7 +53,6 @@ const {
5453
export {
5554
isMainThread,
5655
isWindows,
57-
isWOW64,
5856
isAIX,
5957
isLinuxPPCBE,
6058
isSunOS,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.