diff --git a/test/parallel/test-debug-args.js b/test/parallel/test-debug-args.js index e5f9f37161..a4ed4f9f1e 100644 --- a/test/parallel/test-debug-args.js +++ b/test/parallel/test-debug-args.js @@ -2,6 +2,6 @@ // Flags: --debug-code require('../common'); -var assert = require('assert'); +const assert = require('assert'); -assert.notEqual(process.execArgv.indexOf('--debug-code'), -1); +assert(process.execArgv.includes('--debug-code'));