(t *testing.T, got, want testResult, msg string)
| 203 | } |
| 204 | |
| 205 | func assertEqualResult(t *testing.T, got, want testResult, msg string) { |
| 206 | if got != want { |
| 207 | t.Fatal(emoji.Sprintf(":x:got test result %s, want %s\n%s", got, want, msg)) |
| 208 | } else { |
| 209 | tInfo(emoji.Sprint(":white_check_mark:test result assertion passed!")) |
| 210 | } |
| 211 | } |
| 212 | |
| 213 | func assertOutContains(t *testing.T, s string, contains ...string) { |
| 214 | for _, c := range contains { |
no test coverage detected