Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DeepEquals check.Checker = &deepEqualsChecker{ &check.CheckerInfo{Name: "DeepEquals", Params: []string{"obtained", "expected"}}, }
DeepEquals is a gocheck checker that provides a readable diff in case comparison fails.
View Source
var SortedSliceEquals check.Checker = &sliceEqualsChecker{ &check.CheckerInfo{Name: "SortedSliceEquals", Params: []string{"obtained", "expected"}}, }
SortedSliceEquals is a gocheck checker that compares two slices after sorting them. It expects the slice parameters to implement sort.Interface
Functions ¶
func DeepCompare ¶
DeepCompare uses gocheck DeepEquals but provides nice diff if things are not equal
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.