Skip to content

Commit 0df5e08

Browse files
committed
Don't set showOutput explicitly
It is false by default. This way there's one less change to make in the next commit.
1 parent 7238e41 commit 0df5e08

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

pkg/integration/tests/custom_commands/global_context.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ var GlobalContext = NewIntegrationTest(NewIntegrationTestArgs{
1515
SetupConfig: func(cfg *config.AppConfig) {
1616
cfg.GetUserConfig().CustomCommands = []config.CustomCommand{
1717
{
18-
Key: "X",
19-
Context: "global",
20-
Command: "touch myfile",
21-
ShowOutput: false,
18+
Key: "X",
19+
Context: "global",
20+
Command: "touch myfile",
2221
},
2322
}
2423
},

pkg/integration/tests/custom_commands/multiple_contexts.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ var MultipleContexts = NewIntegrationTest(NewIntegrationTestArgs{
1515
SetupConfig: func(cfg *config.AppConfig) {
1616
cfg.GetUserConfig().CustomCommands = []config.CustomCommand{
1717
{
18-
Key: "X",
19-
Context: "commits, reflogCommits",
20-
Command: "touch myfile",
21-
ShowOutput: false,
18+
Key: "X",
19+
Context: "commits, reflogCommits",
20+
Command: "touch myfile",
2221
},
2322
}
2423
},

0 commit comments

Comments
 (0)