2016-06-28 13:39:49 -04:00
|
|
|
// Package checker provides Docker specific implementations of the go-check.Checker interface.
|
2018-02-05 16:05:59 -05:00
|
|
|
package checker // import "github.com/docker/docker/integration-cli/checker"
|
2015-09-03 18:55:52 -04:00
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/go-check/check"
|
2015-10-17 07:41:44 -04:00
|
|
|
"github.com/vdemeester/shakers"
|
2015-09-03 18:55:52 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
// As a commodity, we bring all check.Checker variables into the current namespace to avoid having
|
|
|
|
// to think about check.X versus checker.X.
|
|
|
|
var (
|
2019-04-04 04:09:27 -04:00
|
|
|
DeepEquals = check.DeepEquals
|
|
|
|
HasLen = check.HasLen
|
|
|
|
IsNil = check.IsNil
|
|
|
|
Matches = check.Matches
|
|
|
|
Not = check.Not
|
|
|
|
NotNil = check.NotNil
|
2015-09-03 18:55:52 -04:00
|
|
|
|
2019-04-04 09:23:19 -04:00
|
|
|
Contains = shakers.Contains
|
|
|
|
Equals = shakers.Equals
|
|
|
|
False = shakers.False
|
|
|
|
GreaterThan = shakers.GreaterThan
|
|
|
|
True = shakers.True
|
2015-10-17 07:41:44 -04:00
|
|
|
)
|