Browse code

Remove some checkers to discourage usage

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2019/04/04 17:09:27
Showing 2 changed files
... ...
@@ -9,38 +9,20 @@ import (
9 9
 // As a commodity, we bring all check.Checker variables into the current namespace to avoid having
10 10
 // to think about check.X versus checker.X.
11 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
12
+	DeepEquals = check.DeepEquals
13
+	HasLen     = check.HasLen
14
+	IsNil      = check.IsNil
15
+	Matches    = check.Matches
16
+	Not        = check.Not
17
+	NotNil     = check.NotNil
23 18
 
24 19
 	Contains           = shakers.Contains
25
-	ContainsAny        = shakers.ContainsAny
26 20
 	Count              = shakers.Count
27 21
 	Equals             = shakers.Equals
28
-	EqualFold          = shakers.EqualFold
29 22
 	False              = shakers.False
30 23
 	GreaterOrEqualThan = shakers.GreaterOrEqualThan
31 24
 	GreaterThan        = shakers.GreaterThan
32 25
 	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 26
 	LessOrEqualThan    = shakers.LessOrEqualThan
42
-	LessThan           = shakers.LessThan
43
-	TimeEquals         = shakers.TimeEquals
44 27
 	True               = shakers.True
45
-	TimeIgnore         = shakers.TimeIgnore
46 28
 )
... ...
@@ -13,7 +13,7 @@ github.com/kr/pty 5cf931ef8f
13 13
 github.com/mattn/go-shellwords v1.0.3
14 14
 github.com/sirupsen/logrus 8bdbc7bcc01dcbb8ec23dc8a28e332258d25251f # v1.4.1
15 15
 github.com/tchap/go-patricia v2.2.6
16
-github.com/vdemeester/shakers 24d7f1d6a71aa5d9cbe7390e4afb66b7eef9e1b3
16
+github.com/vdemeester/shakers 24d7f1d6a71aa5d9cbe7390e4afb66b7eef9e1b3 # v0.1.0
17 17
 golang.org/x/net a680a1efc54dd51c040b3b5ce4939ea3cf2ea0d1
18 18
 golang.org/x/sys d455e41777fca6e8a5a79e34a14b8368bc11d9ba
19 19
 github.com/docker/go-units 47565b4f722fb6ceae66b95f853feed578a4a51c # v0.3.3