Skip to content

Commit b0c6124

Browse files
committed
tmp: check again
1 parent d0c40b0 commit b0c6124

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

jscomp/build_tests/cli_help/input.js

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,17 @@ const dumpHelp =
7373
"`rescript dump` dumps the information for the target\n";
7474

7575
// Shows build help with --help arg
76-
// console.group("build --help");
7776
let out;
78-
// let out = child_process.spawnSync(`../../../rescript`, ["build", "--help"], {
79-
// encoding: "utf8",
80-
// cwd: __dirname,
81-
// });
82-
// assert.equal(out.stdout, buildHelp);
83-
// assert.equal(out.stderr, "");
84-
// assert.equal(out.status, 0);
85-
// console.groupEnd();
77+
78+
console.group("build --help");
79+
out = child_process.spawnSync(`../../../rescript`, ["build", "--help"], {
80+
encoding: "utf8",
81+
cwd: __dirname,
82+
});
83+
assert.equal(out.stdout, buildHelp);
84+
assert.equal(out.stderr, "");
85+
assert.equal(out.status, 0);
86+
console.groupEnd();
8687

8788
// console.group("build -w --help");
8889
// out = child_process.spawnSync(`../../../rescript`, ["build", "-w", "--help"], {

0 commit comments

Comments
 (0)