Skip to content

Commit 77801cc

Browse files
committed
Expect .exe extension for Windows
1 parent b4784f1 commit 77801cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/json_config.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Feature: JSON config
55
And a file named "assert_args_and_exec.js" with:
66
"""
77
const assert = require("assert/strict");
8-
assert.match(process.argv[0], /node$/);
8+
assert.match(process.argv[0], /node(:?\.exe)?$/);
99
assert.match(process.argv[1], /assert_args_and_exec\.js$/);
1010
assert.equal(process.argv[2], "cucumber-json-formatter");
1111
require("child_process").execSync(process.argv[2], { stdio: "inherit" });

0 commit comments

Comments
 (0)