Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DoesNotExist Checker = &doesNotExistChecker{ &CheckerInfo{Name: "DoesNotExist", Params: []string{"obtained"}}, }
View Source
var DurationLessThan Checker = &durationLessThanChecker{ &CheckerInfo{Name: "DurationLessThan", Params: []string{"obtained", "expected"}}, }
View Source
var GreaterThan Checker = &greaterThanChecker{ &CheckerInfo{Name: "GreaterThan", Params: []string{"obtained", "expected"}}, }
View Source
var HasPrefix Checker = &hasPrefixChecker{ &CheckerInfo{Name: "HasPrefix", Params: []string{"obtained", "expected"}}, }
View Source
var HasSuffix Checker = &hasSuffixChecker{ &CheckerInfo{Name: "HasSuffix", Params: []string{"obtained", "expected"}}, }
View Source
var IsDirectory Checker = &isDirectoryChecker{ &CheckerInfo{Name: "IsDirectory", Params: []string{"obtained"}}, }
View Source
var IsFalse Checker = Not(IsTrue)
IsTrue checks whether a value has an underlying boolean type and is false.
View Source
var IsNonEmptyFile Checker = &isNonEmptyFileChecker{ &CheckerInfo{Name: "IsNonEmptyFile", Params: []string{"obtained"}}, }
View Source
var IsTrue Checker = &isTrueChecker{ &CheckerInfo{Name: "IsTrue", Params: []string{"obtained"}}, }
IsTrue checks whether a value has an underlying boolean type and is true.
View Source
var LessThan Checker = &lessThanChecker{ &CheckerInfo{Name: "LessThan", Params: []string{"obtained", "expected"}}, }
View Source
var Satisfies Checker = &satisfiesChecker{ &CheckerInfo{ Name: "Satisfies", Params: []string{"obtained", "func(T) bool"}, }, }
Satisfies checks whether a value causes the argument function to return true. The function must be of type func(T) bool where the value being checked is assignable to T.
Functions ¶
func TimeBetween ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.