diff --git a/test/parallel/test-memory-usage.js b/test/parallel/test-memory-usage.js index 9b39601e2e2..f704c881280 100644 --- a/test/parallel/test-memory-usage.js +++ b/test/parallel/test-memory-usage.js @@ -3,4 +3,6 @@ require('../common'); var assert = require('assert'); var r = process.memoryUsage(); -assert.equal(true, r['rss'] > 0); +assert.ok(r.rss > 0); +assert.ok(r.heapTotal > 0); +assert.ok(r.heapUsed > 0);