Skip to content

Commit f6d6196

Browse files
galarghfvictorio
andauthored
Apply suggestions from code review
Co-authored-by: Franco Victorio <[email protected]>
1 parent ae2b7c4 commit f6d6196

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.changeset/fluffy-days-study.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"hardhat": patch
33
---
44

5-
Added call traces support for solidity tests (they can be enabled via the `-vvvv` verbosity level flag)
5+
Added call traces support for solidity tests. Call traces can be enabled via the `-vvvv` verbosity level flag.

v-next/hardhat/src/internal/builtin-plugins/solidity-test/formatters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function formatLog(log: LogTrace): string[] {
6565
}
6666
} else {
6767
lines.push(
68-
`emit ${parameters.name}(chalk.cyan(${parameters.arguments.join(", ")}))`,
68+
`emit ${parameters.name}(${chalk.cyan(parameters.arguments.join(", "))})`,
6969
);
7070
}
7171
return lines;

v-next/hardhat/src/internal/builtin-plugins/solidity-test/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const hardhatPlugin: HardhatPlugin = {
3737
.addLevel({
3838
name: "verbosity",
3939
shortName: "v",
40-
description: "Log verbosity",
40+
description: "Verbosity level of the test output",
4141
defaultValue: 2,
4242
})
4343
.setAction(import.meta.resolve("./task-action.js"))

v-next/hardhat/src/internal/builtin-plugins/test/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const hardhatPlugin: HardhatPlugin = {
3232
.addLevel({
3333
name: "verbosity",
3434
shortName: "v",
35-
description: "Log verbosity",
35+
description: "Verbosity level of the test output",
3636
defaultValue: 2,
3737
})
3838
.setAction(import.meta.resolve("./task-action.js"))

0 commit comments

Comments
 (0)