From 94e8d2a5ff410a51ee0845782801844babea6031 Mon Sep 17 00:00:00 2001 From: Anatoli Papirovski Date: Fri, 16 Feb 2018 15:06:25 -0500 Subject: [PATCH] test: fix unrelated variable name changes PR-URL: https://github.com/nodejs/node/pull/18823 Reviewed-By: Michael Dawson Reviewed-By: Ruben Bridgewater --- test/parallel/test-process-geteuid-getegid.js | 4 ++-- test/parallel/test-process-setuid-setgid.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/parallel/test-process-geteuid-getegid.js b/test/parallel/test-process-geteuid-getegid.js index e2daa1cf365..41e37874a41 100644 --- a/test/parallel/test-process-geteuid-getegid.js +++ b/test/parallel/test-process-geteuid-getegid.js @@ -44,5 +44,5 @@ assert.notStrictEqual(newgid, oldgid); const olduid = process.geteuid(); process.seteuid('nobody'); -const newAsyncId = process.geteuid(); -assert.notStrictEqual(newAsyncId, olduid); +const newuid = process.geteuid(); +assert.notStrictEqual(newuid, olduid); diff --git a/test/parallel/test-process-setuid-setgid.js b/test/parallel/test-process-setuid-setgid.js index 30640b277a2..41fef8c9c81 100644 --- a/test/parallel/test-process-setuid-setgid.js +++ b/test/parallel/test-process-setuid-setgid.js @@ -63,5 +63,5 @@ assert.notStrictEqual(newgid, oldgid); const olduid = process.getuid(); process.setuid('nobody'); -const newAsyncId = process.getuid(); -assert.notStrictEqual(newAsyncId, olduid); +const newuid = process.getuid(); +assert.notStrictEqual(newuid, olduid);