Skip to content

Commit d0c40b0

Browse files
committed
tmp: but why?
1 parent 09f6741 commit d0c40b0

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

jscomp/build_tests/cli_help/input.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -132,18 +132,18 @@ console.groupEnd();
132132
// console.log("@@ done ");
133133
// console.groupEnd();
134134
//
135-
// // Exits with build help with unknown arg
136-
// console.group("build -foo");
137-
// console.log("@@ begin ");
138-
// out = child_process.spawnSync(`../../../rescript`, ["build", "-foo"], {
139-
// encoding: "utf8",
140-
// cwd: __dirname,
141-
// });
142-
// assert.equal(out.stdout, "");
143-
// assert.equal(out.stderr, 'Error: Unknown option "-foo".\n' + buildHelp);
144-
// assert.equal(out.status, 2);
145-
// console.log("@@ done ");
146-
// console.groupEnd();
135+
// Exits with build help with unknown arg
136+
console.group("build -foo");
137+
console.log("@@ begin ");
138+
out = child_process.spawnSync(`../../../rescript`, ["build", "-foo"], {
139+
encoding: "utf8",
140+
cwd: __dirname,
141+
});
142+
assert.equal(out.stdout, "");
143+
assert.equal(out.stderr, 'Error: Unknown option "-foo".\n' + buildHelp);
144+
assert.equal(out.status, 2);
145+
console.log("@@ done ");
146+
console.groupEnd();
147147

148148
// Shows cli help with --help arg
149149
console.group("--help");

0 commit comments

Comments
 (0)