Skip to content

Commit 56d8ca3

Browse files
waelsy123RaisinTen
andauthored
Update test/parallel/test-os.js
Co-authored-by: Darshan Sen <[email protected]>
1 parent 24c8dc6 commit 56d8ca3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/parallel/test-os.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ const hostname = os.hostname();
8585
is.string(hostname);
8686
assert.ok(hostname.length > 0);
8787

88-
const DUMMY_PRIORITY = 10
89-
os.setPriority(DUMMY_PRIORITY)
90-
const priority = os.getPriority()
91-
is.number(priority)
92-
assert.ok(priority === DUMMY_PRIORITY)
88+
const DUMMY_PRIORITY = 10;
89+
os.setPriority(DUMMY_PRIORITY);
90+
const priority = os.getPriority();
91+
is.number(priority);
92+
assert.strictEqual(priority, DUMMY_PRIORITY);
9393

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

0 commit comments

Comments
 (0)