Skip to content

Commit

Permalink
fix: Test failed
Browse files Browse the repository at this point in the history
  • Loading branch information
msvticket committed Jul 24, 2022
1 parent 1c21275 commit 87f7980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/plugins/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ func TestCommandGetMatches(t *testing.T) {
t.Run(tc.name, func(t *testing.T) {
matches, err := tc.command.GetMatches(tc.content)
if err != nil {
t.Errorf("an error has occured %w", err)
t.Errorf("an error has occured %v", err)
} else {
if !reflect.DeepEqual(tc.expected, matches) {
t.Errorf("expected matches %q, but got %q", tc.expected, matches)
Expand Down

0 comments on commit 87f7980

Please sign in to comment.