Skip to content

Commit

Permalink
Fix test typo in strings
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlandon committed Nov 29, 2023
1 parent 356c9d5 commit 0b978c5
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion example/cmd/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,4 @@ func init() {
return carapace.ActionExecute(cmd)
}),
)

}
2 changes: 1 addition & 1 deletion example/cmd/compat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func TestCompat(t *testing.T) {
)

s.Run("compat", "--error", "").
Expect(carapace.ActionMessage("an error occured").
Expect(carapace.ActionMessage("an error occurred").
Usage("ShellCompDirectiveError"))

s.Run("compat", "--nospace", "").
Expand Down
2 changes: 0 additions & 2 deletions example/cmd/modifier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ func TestCache(t *testing.T) {
s.Run("modifier", "--cache", "").
ExpectNot(cached.
Usage("Cache()"))

})
}

Expand Down Expand Up @@ -239,7 +238,6 @@ func TestFilterParts(t *testing.T) {
NoSpace(',').
Prefix("one,three,").
Usage("FilterParts()"))

})
}

Expand Down
2 changes: 1 addition & 1 deletion example/cmd/multiparts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/rsteube/carapace/pkg/style"
)

// TODO rename
// TODO rename.
func TestMultiparts(t *testing.T) {
sandbox.Package(t, "github.com/rsteube/carapace/example")(func(s *sandbox.Sandbox) {
s.Files(
Expand Down
1 change: 0 additions & 1 deletion example/cmd/special.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,4 @@ func init() {
carapace.Gen(specialCmd).PositionalCompletion(
carapace.ActionValues(`p1 & < > ' " { } $ # | ? ( ) ; [ ] * \ `+"`", "positional1"),
)

}

0 comments on commit 0b978c5

Please sign in to comment.