Skip to content

Commit 80c621a

Browse files
waelsy123RaisinTen
authored andcommitted
Update test/parallel/test-os.js
Co-authored-by: Darshan Sen <[email protected]>
1 parent 02b52c4 commit 80c621a

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
@@ -81,11 +81,11 @@ const hostname = os.hostname();
8181
is.string(hostname);
8282
assert.ok(hostname.length > 0);
8383

84-
const DUMMY_PRIORITY = 10
85-
os.setPriority(DUMMY_PRIORITY)
86-
const priority = os.getPriority()
87-
is.number(priority)
88-
assert.ok(priority === DUMMY_PRIORITY)
84+
const DUMMY_PRIORITY = 10;
85+
os.setPriority(DUMMY_PRIORITY);
86+
const priority = os.getPriority();
87+
is.number(priority);
88+
assert.strictEqual(priority, DUMMY_PRIORITY);
8989

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

0 commit comments

Comments
 (0)