Skip to content

Commit 2fff09e

Browse files
committed
change func TestCommand comments
1 parent 0413220 commit 2fff09e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

File renamed without changes.

pkg/app/test_command.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ import (
1414
)
1515

1616
// TestCommand executes the test argument
17-
// testPath is the path to the configuration object, an object can be a dir or file
17+
// testPath is the path to the test suite config, it can be a dir or file
1818
// titleFilterTitle is the title of test which should be executed, if empty it will execute all tests
19-
// ctx holds the command flags
20-
// when --dir is enabled testFilterPath must be a zero value
19+
// ctx holds the command flags. If directory scanning is enabled with --dir it is
20+
// not supported to filter tests, therefore testFilterTitle is an empty string
2121
func TestCommand(testPath string, testFilterTitle string, ctx AddCommandContext) error {
2222
if ctx.Verbose == true {
2323
log.SetOutput(os.Stdout)

0 commit comments

Comments
 (0)