Skip to content

Commit

Permalink
Merge upstream fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlandon committed Nov 29, 2023
1 parent fa41dc4 commit 4ce9864
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compat.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (d compDirective) ToA(values ...string) Action {
var action Action
switch {
case d.matches(cobra.ShellCompDirectiveError):
return ActionMessage("an error occured")
return ActionMessage("an error occurred")
case d.matches(cobra.ShellCompDirectiveFilterDirs):
switch len(values) {
case 0:
Expand Down
2 changes: 1 addition & 1 deletion storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func TestCheck(t *testing.T) {
}
}

// BenchmarkStorage tests for concurrent map read/write
// BenchmarkStorage tests for concurrent map read/write.
func BenchmarkStorage(b *testing.B) {
cmd := &cobra.Command{}
cmd2 := &cobra.Command{}
Expand Down

0 comments on commit 4ce9864

Please sign in to comment.