Lines Matching refs:h
192 func (h *TestHelper) AssertStringEquals(message string, expected string, actual string) {
193 h.t.Helper()
195 h.t.Errorf("%s: expected %s, actual %s", message, expected, actual)
199 func (h *TestHelper) AssertErrorMessageEquals(message string, expected string, actual error) {
200 h.t.Helper()
202 h.t.Errorf("Expected error but was nil")
204 h.t.Errorf("%s: expected %s, actual %s", message, expected, actual.Error())
208 func (h *TestHelper) AssertTrimmedStringEquals(message string, expected string, actual string) {
209 h.t.Helper()
210 h.AssertStringEquals(message, strings.TrimSpace(expected), strings.TrimSpace(actual))
213 func (h *TestHelper) AssertDeepEquals(message string, expected interface{}, actual interface{}) {
214 h.t.Helper()
216 h.t.Errorf("%s: expected %#v, actual %#v", message, expected, actual)