github.com/ssdev-go/moby@v17.12.1-ce-rc2+incompatible/integration-cli/checker/checker.go (about) 1 // Package checker provides Docker specific implementations of the go-check.Checker interface. 2 package checker 3 4 import ( 5 "github.com/go-check/check" 6 "github.com/vdemeester/shakers" 7 ) 8 9 // As a commodity, we bring all check.Checker variables into the current namespace to avoid having 10 // to think about check.X versus checker.X. 11 var ( 12 DeepEquals = check.DeepEquals 13 ErrorMatches = check.ErrorMatches 14 FitsTypeOf = check.FitsTypeOf 15 HasLen = check.HasLen 16 Implements = check.Implements 17 IsNil = check.IsNil 18 Matches = check.Matches 19 Not = check.Not 20 NotNil = check.NotNil 21 PanicMatches = check.PanicMatches 22 Panics = check.Panics 23 24 Contains = shakers.Contains 25 ContainsAny = shakers.ContainsAny 26 Count = shakers.Count 27 Equals = shakers.Equals 28 EqualFold = shakers.EqualFold 29 False = shakers.False 30 GreaterOrEqualThan = shakers.GreaterOrEqualThan 31 GreaterThan = shakers.GreaterThan 32 HasPrefix = shakers.HasPrefix 33 HasSuffix = shakers.HasSuffix 34 Index = shakers.Index 35 IndexAny = shakers.IndexAny 36 IsAfter = shakers.IsAfter 37 IsBefore = shakers.IsBefore 38 IsBetween = shakers.IsBetween 39 IsLower = shakers.IsLower 40 IsUpper = shakers.IsUpper 41 LessOrEqualThan = shakers.LessOrEqualThan 42 LessThan = shakers.LessThan 43 TimeEquals = shakers.TimeEquals 44 True = shakers.True 45 TimeIgnore = shakers.TimeIgnore 46 )