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 02b52c4 commit 80c621aCopy full SHA for 80c621a
test/parallel/test-os.js
@@ -81,11 +81,11 @@ const hostname = os.hostname();
81
is.string(hostname);
82
assert.ok(hostname.length > 0);
83
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)
+const DUMMY_PRIORITY = 10;
+os.setPriority(DUMMY_PRIORITY);
+const priority = os.getPriority();
+is.number(priority);
+assert.strictEqual(priority, DUMMY_PRIORITY);
89
90
// On IBMi, os.uptime() returns 'undefined'
91
if (!common.isIBMi) {
0 commit comments