File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -152,18 +152,15 @@ func TestEmptyServiceOutputProducesNoOutput(t *testing.T) {
152
152
// Explicitly indicate that the field is empty (default/zero value).
153
153
plugin .ServiceOutput = ""
154
154
155
- // At this point the collected performance data collection is empty, the
156
- // field used to hold the entries is nil. An attempt to process the empty
157
- // collection should result in no output.
158
- plugin .handlePerformanceData (& outputBuffer )
155
+ plugin .handleServiceOutputSection (& outputBuffer )
159
156
160
157
want := ""
161
158
got := outputBuffer .String ()
162
159
163
160
if want != got {
164
161
t .Errorf ("\n want %q\n got %q" , want , got )
165
162
} else {
166
- t .Logf ("OK: Empty performance data collection produces no output." )
163
+ t .Logf ("OK: Empty service output field produces no output." )
167
164
}
168
165
169
166
}
You can’t perform that action at this time.
0 commit comments