Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SnapshotTester ¶
type SnapshotTester struct {
// contains filtered or unexported fields
}
func (*SnapshotTester) Assert ¶
func (s *SnapshotTester) Assert(t testingT)
Assert reports error if current snapshot differs from older one.
func (*SnapshotTester) Snapshot ¶
func (s *SnapshotTester) Snapshot(value string) error
Snapshot writes value as snapshot.
func (*SnapshotTester) SnapshotBytes ¶
func (s *SnapshotTester) SnapshotBytes(bs []byte) error
SnapshotBytes writes bytes as snapshot.
Click to show internal directories.
Click to hide internal directories.