Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update test/parallel/test-os.js
Co-authored-by: Darshan Sen <raisinten@gmail.com>
  • Loading branch information
2 people authored and aduh95 committed Sep 20, 2023
commit 80c621a39308fa808ccb6e144a63a3fa1e11cb3d
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