(t *testing.T)
| 2331 | } |
| 2332 | |
| 2333 | func assertCleanGitStatus(t *testing.T) { |
| 2334 | status := gitStatus() |
| 2335 | if len(status) != 0 { |
| 2336 | _, file, line, _ := runtime.Caller(1) |
| 2337 | fmt.Printf("\033[31m%s:%d:\n\n\texpected a clean git status, but contained %s\"\n", filepath.Base(file), line, status) |
| 2338 | t.FailNow() |
| 2339 | } |
| 2340 | } |
| 2341 | |
| 2342 | func equals(t *testing.T, exp, act interface{}) { |
| 2343 | if !reflect.DeepEqual(exp, act) { |
no test coverage detected