From d09ec91f5a9071e33d195bf8337c4857e56ad90c Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 28 Nov 2016 13:50:21 -0800 Subject: [PATCH] test: refactor test-debug-args * indexOf() -> includes() * var -> const --- test/parallel/test-debug-args.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-debug-args.js b/test/parallel/test-debug-args.js index e5f9f3716119ed..a4ed4f9f1ee719 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'));