Reconcile reporting tests and boundaries
This commit is contained in:
@@ -124,7 +124,7 @@ func performanceFlatCommands(tb testing.TB, count int, prefix string) []commandk
|
||||
run := func(commandkit.Invocation, struct{}) commandkit.Outcome { return commandkit.Success() }
|
||||
if prefix == "cmd" && index == 4 {
|
||||
run = func(commandkit.Invocation, struct{}) commandkit.Outcome {
|
||||
return commandkit.Usage(performanceUsageCause)
|
||||
return commandkit.Usage("The benchmark command needs usage.").WithCause(performanceUsageCause)
|
||||
}
|
||||
}
|
||||
command := commandkit.NewCommand(commandkit.CommandSpec[struct{}]{Name: name, Summary: "Benchmark command.", Flags: flags, Run: run})
|
||||
|
||||
Reference in New Issue
Block a user