mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
test: refactor test-debug-args
* indexOf() -> includes() * var -> const PR-URL: https://github.com/nodejs/node/pull/9833 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 parent
98f9b5df12
commit
cf2562bf60
1 file changed
+2
-2
@@ -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'));
|
||||
Reference in new issue
Block a user