Skip to content

Commit d2e2f98

Browse files
fix message in test
1 parent 75bcb87 commit d2e2f98

File tree

1 file changed

+1
-1
lines changed
  • v-next/hardhat/test/internal/cli

1 file changed

+1
-1
lines changed

v-next/hardhat/test/internal/cli/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ describe("main", function () {
137137
assert.deepEqual(res.taskArguments, { flag: true });
138138
});
139139

140-
it("should throw because the parameter when set as bool (flag behavior) should not be followed by a bool value", function () {
140+
it("should read the (optional )bool value after the parameter", function () {
141141
const command = "npx hardhat task --flag false";
142142

143143
const cliArguments = command.split(" ").slice(2);

0 commit comments

Comments
 (0)