diff --git a/test/addons/load-long-path/test.js b/test/addons/load-long-path/test.js index ee09230676b..7d1a37bd960 100644 --- a/test/addons/load-long-path/test.js +++ b/test/addons/load-long-path/test.js @@ -1,6 +1,6 @@ 'use strict'; const common = require('../../common'); -if (common.isWOW64) +if (common.isWindows && (process.env.PROCESSOR_ARCHITEW6432 !== undefined)) common.skip('doesn\'t work on WOW64'); const fs = require('fs'); diff --git a/test/common/README.md b/test/common/README.md index e63c83fd806..0a2281b091b 100644 --- a/test/common/README.md +++ b/test/common/README.md @@ -213,11 +213,6 @@ Platform check for SunOS. Platform check for Windows. -### isWOW64 -* [<boolean>] - -Platform check for Windows 32-bit on Windows 64-bit. - ### localhostIPv4 * [<string>] diff --git a/test/common/index.js b/test/common/index.js index e76dfcce8b0..9cbf9189690 100644 --- a/test/common/index.js +++ b/test/common/index.js @@ -46,7 +46,6 @@ const isMainThread = (() => { })(); const isWindows = process.platform === 'win32'; -const isWOW64 = isWindows && (process.env.PROCESSOR_ARCHITEW6432 !== undefined); const isAIX = process.platform === 'aix'; const isLinuxPPCBE = (process.platform === 'linux') && (process.arch === 'ppc64') && @@ -721,7 +720,6 @@ module.exports = { isOSX, isSunOS, isWindows, - isWOW64, localIPv6Hosts, mustCall, mustCallAsync, diff --git a/test/common/index.mjs b/test/common/index.mjs index bb17d9d3717..bead7333d12 100644 --- a/test/common/index.mjs +++ b/test/common/index.mjs @@ -5,7 +5,6 @@ import common from './index.js'; const { isMainThread, isWindows, - isWOW64, isAIX, isLinuxPPCBE, isSunOS, @@ -54,7 +53,6 @@ const { export { isMainThread, isWindows, - isWOW64, isAIX, isLinuxPPCBE, isSunOS,