Skip to content

Commit 8a45b85

Browse files
pd4d10targos
authored andcommitted
test: improve coverage of lib/os.js
PR-URL: #38653 Refs: https://coverage.nodejs.org/coverage-52e4fb5b23157222/lib/os.js.html#L96 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent daeb6fc commit 8a45b85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/parallel/test-os.js

+1
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ assert.strictEqual(`${os.endianness}`, os.endianness());
247247
assert.strictEqual(`${os.tmpdir}`, os.tmpdir());
248248
assert.strictEqual(`${os.arch}`, os.arch());
249249
assert.strictEqual(`${os.platform}`, os.platform());
250+
assert.strictEqual(`${os.version}`, os.version());
250251

251252
assert.strictEqual(+os.totalmem, os.totalmem());
252253

0 commit comments

Comments
 (0)