Versions in this module Expand all Collapse all v2 v2.0.1 Mar 24, 2021 v2.0.0 Mar 22, 2021 Changes in this version + func AssertErrorContains(t *testing.T, theError error, msg string) + func AssertLogText(t *testing.T, expectedText, actualText string) + func AssertRequestEqual(t *testing.T, re *RequestExpectation, actualRequest *http.Request) + func AssertSyncMapEqual(t *testing.T, expected, actual *sync.Map, msgAndArgs ...interface{}) bool + func CaptureOutput(f func()) string + type KeyValueStr struct + Key string + Value string + type RequestExpectation struct + ExpectedBody StringExpectation + ExpectedHeaders []KeyValueStr + ExpectedMethod StringExpectation + ExpectedURL StringExpectation + IsNilRequestExpected bool + type StringExpectation struct + IsActive bool + Value string + func NewStringExpectation(value string) StringExpectation Other modules containing this package github.com/breathbath/go_utils/v3