Skip to content

Commit f7e4292

Browse files
authored
remove unnecessary plus flag for slice output format (#673)
1 parent d033a87 commit f7e4292

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

reflection.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ func assertContains(t testing.TB, haystack []string, needle string) {
770770
}
771771
}
772772
if !contains {
773-
t.Errorf("expected %+v to contain %q but it didn't", haystack, needle)
773+
t.Errorf("expected %v to contain %q but it didn't", haystack, needle)
774774
}
775775
}
776776
```

reflection/v10/reflection_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,6 @@ func assertContains(t testing.TB, haystack []string, needle string) {
154154
}
155155
}
156156
if !contains {
157-
t.Errorf("expected %+v to contain %q but it didn't", haystack, needle)
157+
t.Errorf("expected %v to contain %q but it didn't", haystack, needle)
158158
}
159159
}

reflection/v8/reflection_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,6 @@ func assertContains(t testing.TB, haystack []string, needle string) {
115115
}
116116
}
117117
if !contains {
118-
t.Errorf("expected %+v to contain %q but it didn't", haystack, needle)
118+
t.Errorf("expected %v to contain %q but it didn't", haystack, needle)
119119
}
120120
}

reflection/v9/reflection_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,6 @@ func assertContains(t testing.TB, haystack []string, needle string) {
136136
}
137137
}
138138
if !contains {
139-
t.Errorf("expected %+v to contain %q but it didn't", haystack, needle)
139+
t.Errorf("expected %v to contain %q but it didn't", haystack, needle)
140140
}
141141
}

0 commit comments

Comments
 (0)