Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DatumEquals check.Checker = &datumEqualsChecker{ &check.CheckerInfo{Name: "DatumEquals", Params: []string{"obtained", "expected"}}, }
DatumEquals checker verifies that the obtained value is equal to the expected value. For example:
c.Assert(value, DatumEquals, NewDatum(42))
Functions ¶
func CompareUnorderedStringSlice ¶
CompareUnorderedStringSlice compare two string slices. If a and b is exactly the same except the order, it returns true. In otherwise return false.
func RowsWithSep ¶
RowsWithSep is a convenient function to wrap args to a slice of []interface. The arg represents a row, split by sep.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.