Skip to content

Commit

Permalink
test: refactor test-debug-args
Browse files Browse the repository at this point in the history
* indexOf() -> includes()
* var -> const
  • Loading branch information
Trott committed Nov 30, 2016
1 parent c2f8487 commit d09ec91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-debug-args.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));

0 comments on commit d09ec91

Please sign in to comment.