We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24c8dc6 commit 56d8ca3Copy full SHA for 56d8ca3
test/parallel/test-os.js
@@ -85,11 +85,11 @@ const hostname = os.hostname();
85
is.string(hostname);
86
assert.ok(hostname.length > 0);
87
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)
+const DUMMY_PRIORITY = 10;
+os.setPriority(DUMMY_PRIORITY);
+const priority = os.getPriority();
+is.number(priority);
+assert.strictEqual(priority, DUMMY_PRIORITY);
93
94
// On IBMi, os.uptime() returns 'undefined'
95
if (!common.isIBMi) {
0 commit comments