(t *testing.T, stdout *bytes.Buffer)
| 271 | } |
| 272 | |
| 273 | func decodePutOutput(t *testing.T, stdout *bytes.Buffer) putOutputData { |
| 274 | t.Helper() |
| 275 | |
| 276 | got := decodePutOutputWithWarnings(t, stdout) |
| 277 | if len(got.Warnings) != 0 { |
| 278 | t.Fatalf("warnings = %+v, want empty", got.Warnings) |
| 279 | } |
| 280 | return got |
| 281 | } |
| 282 | |
| 283 | func decodePutOutputWithWarnings(t *testing.T, stdout *bytes.Buffer) putOutputData { |
| 284 | t.Helper() |
no test coverage detected