Documentation ¶
Overview ¶
Package asserts provides a bad implementation of test predicate helpers. This package should either go away or dramatically improve.
Index ¶
- func Assert(t *testing.T, got bool, what string)
- func AssertBool(t *testing.T, expect, got bool, what string)
- func AssertErrorContains(t *testing.T, err error, substr, msg string)
- func AssertInt(t *testing.T, expect, got int, what string)
- func AssertNil(t *testing.T, v interface{}, what string)
- func AssertString(t *testing.T, expect, got string, what string)
- func Expect(t *testing.T, got bool, what string)
- func ExpectBool(t *testing.T, expect, got bool, what string)
- func ExpectErrorContains(t *testing.T, err error, substr, msg string)
- func ExpectInt(t *testing.T, expect, got int, what string)
- func ExpectNil(t *testing.T, v interface{}, what string)
- func ExpectString(t *testing.T, expect, got string, what string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.