(t *testing.T)
| 307 | }} |
| 308 | |
| 309 | func TestValidateOutput(t *testing.T) { |
| 310 | for _, tt := range validateOutputTests { |
| 311 | r := strings.NewReader(tt.input) |
| 312 | got := validateOutput(r, tt.lines) |
| 313 | if tt.want != got { |
| 314 | t.Errorf("validateOutput(%q, %q), want %v, got %v", tt.input, tt.lines, tt.want, got) |
| 315 | } |
| 316 | } |
| 317 | } |
| 318 | |
| 319 | // runTest executes the go program supplied and returns the contents of stdout, |
| 320 | // stderr, and an error which may contain status information about the result |
nothing calls this directly
no test coverage detected
searching dependent graphs…