@@ -112,7 +112,7 @@ func TestWithGoCollectorDefault(t *testing.T) {
112112 expected := append (withBaseMetrics (memstatMetrics ), defaultRuntimeMetrics ... )
113113 sort .Strings (expected )
114114 if diff := cmp .Diff (got , expected ); diff != "" {
115- t .Errorf ("[IMPORTANT, those are default metrics, can't change in 1.x] missmatch (-want +got):\n %s" , diff )
115+ t .Errorf ("[IMPORTANT, those are default metrics, can't change in 1.x] mismatch (-want +got):\n %s" , diff )
116116 }
117117}
118118
@@ -132,7 +132,7 @@ func TestWithGoCollectorMemStatsMetricsDisabled(t *testing.T) {
132132 }
133133
134134 if diff := cmp .Diff (got , withBaseMetrics (defaultRuntimeMetrics )); diff != "" {
135- t .Errorf ("missmatch (-want +got):\n %s" , diff )
135+ t .Errorf ("mismatch (-want +got):\n %s" , diff )
136136 }
137137}
138138
@@ -190,7 +190,7 @@ func TestGoCollectorAllowList(t *testing.T) {
190190 }
191191
192192 if diff := cmp .Diff (got , test .expected ); diff != "" {
193- t .Errorf ("missmatch (-want +got):\n %s" , diff )
193+ t .Errorf ("mismatch (-want +got):\n %s" , diff )
194194 }
195195 })
196196 }
@@ -252,7 +252,7 @@ func TestGoCollectorDenyList(t *testing.T) {
252252 }
253253
254254 if diff := cmp .Diff (got , test .expected ); diff != "" {
255- t .Errorf ("missmatch (-want +got):\n %s" , diff )
255+ t .Errorf ("mismatch (-want +got):\n %s" , diff )
256256 }
257257 })
258258 }
0 commit comments