Skip to content
Permalink
Browse files
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 <raisinten@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
  • Loading branch information
pd4d10 authored and targos committed Jun 11, 2021
1 parent daeb6fc commit 8a45b85dbd4cdda25b7fb278e2863bdc4d298c53
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/parallel/test-os.js
@@ -247,6 +247,7 @@ assert.strictEqual(`${os.endianness}`, os.endianness());
assert.strictEqual(`${os.tmpdir}`, os.tmpdir());
assert.strictEqual(`${os.arch}`, os.arch());
assert.strictEqual(`${os.platform}`, os.platform());
assert.strictEqual(`${os.version}`, os.version());

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

0 comments on commit 8a45b85

Please sign in to comment.