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
waelsy123 and RaisinTen committed May 24, 2021
1 parent 24c8dc6 commit 56d8ca3
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 @@ -85,11 +85,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 56d8ca3

Please sign in to comment.