Skip to content

Commit

Permalink
Update test/parallel/test-os.js
Browse files Browse the repository at this point in the history
Co-authored-by: Darshan Sen <raisinten@gmail.com>
  • Loading branch information
2 people authored and aduh95 committed Sep 20, 2023
1 parent 02b52c4 commit 80c621a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/parallel/test-os.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ const hostname = os.hostname();
is.string(hostname);
assert.ok(hostname.length > 0);

const DUMMY_PRIORITY = 10
os.setPriority(DUMMY_PRIORITY)
const priority = os.getPriority()
is.number(priority)
assert.ok(priority === DUMMY_PRIORITY)
const DUMMY_PRIORITY = 10;
os.setPriority(DUMMY_PRIORITY);
const priority = os.getPriority();
is.number(priority);
assert.strictEqual(priority, DUMMY_PRIORITY);

// On IBMi, os.uptime() returns 'undefined'
if (!common.isIBMi) {
Expand Down

0 comments on commit 80c621a

Please sign in to comment.