Skip to content

Commit

Permalink
remove unnecessary plus flag for slice output format (#673)
Browse files Browse the repository at this point in the history
  • Loading branch information
eklmv authored Sep 28, 2023
1 parent d033a87 commit f7e4292
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion reflection.md
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ func assertContains(t testing.TB, haystack []string, needle string) {
}
}
if !contains {
t.Errorf("expected %+v to contain %q but it didn't", haystack, needle)
t.Errorf("expected %v to contain %q but it didn't", haystack, needle)
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion reflection/v10/reflection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,6 @@ func assertContains(t testing.TB, haystack []string, needle string) {
}
}
if !contains {
t.Errorf("expected %+v to contain %q but it didn't", haystack, needle)
t.Errorf("expected %v to contain %q but it didn't", haystack, needle)
}
}
2 changes: 1 addition & 1 deletion reflection/v8/reflection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,6 @@ func assertContains(t testing.TB, haystack []string, needle string) {
}
}
if !contains {
t.Errorf("expected %+v to contain %q but it didn't", haystack, needle)
t.Errorf("expected %v to contain %q but it didn't", haystack, needle)
}
}
2 changes: 1 addition & 1 deletion reflection/v9/reflection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,6 @@ func assertContains(t testing.TB, haystack []string, needle string) {
}
}
if !contains {
t.Errorf("expected %+v to contain %q but it didn't", haystack, needle)
t.Errorf("expected %v to contain %q but it didn't", haystack, needle)
}
}

0 comments on commit f7e4292

Please sign in to comment.