Skip to content

Commit

Permalink
fix grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
jippi committed Feb 15, 2024
1 parent 5e82171 commit 453fec8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/disable/disable_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ import (
func TestCommand(t *testing.T) {
t.Parallel()

test_helpers.RunFilebasedCommandTests(t, 0, "disable")
test_helpers.RunFileBasedCommandTests(t, 0, "disable")
}
2 changes: 1 addition & 1 deletion cmd/enable/enable_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ import (
func TestCommand(t *testing.T) {
t.Parallel()

test_helpers.RunFilebasedCommandTests(t, 0, "enable")
test_helpers.RunFileBasedCommandTests(t, 0, "enable")
}
2 changes: 1 addition & 1 deletion cmd/groups/groups_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ import (
func TestCommand(t *testing.T) {
t.Parallel()

test_helpers.RunFilebasedCommandTests(t, test_helpers.SkipEnvCopy, "groups")
test_helpers.RunFileBasedCommandTests(t, test_helpers.SkipEnvCopy, "groups")
}
2 changes: 1 addition & 1 deletion cmd/print/print_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ import (
func TestCommand(t *testing.T) {
t.Parallel()

test_helpers.RunFilebasedCommandTests(t, test_helpers.SkipEnvCopy, "print")
test_helpers.RunFileBasedCommandTests(t, test_helpers.SkipEnvCopy, "print")
}
2 changes: 1 addition & 1 deletion pkg/test_helpers/filebased_command_tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (bitmask Setting) Has(setting Setting) bool {
return bitmask&setting != 0
}

func RunFilebasedCommandTests(t *testing.T, settings Setting, globalArgs ...string) {
func RunFileBasedCommandTests(t *testing.T, settings Setting, globalArgs ...string) {
t.Helper()

files, err := os.ReadDir("tests")
Expand Down

0 comments on commit 453fec8

Please sign in to comment.