2016-06-28 17:39:49 +00:00
|
|
|
// Package checker provides Docker specific implementations of the go-check.Checker interface.
|
2018-02-05 21:05:59 +00:00
|
|
|
package checker // import "github.com/docker/docker/integration-cli/checker"
|
2015-09-03 22:55:52 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/go-check/check"
|
2015-10-17 11:41:44 +00:00
|
|
|
"github.com/vdemeester/shakers"
|
2015-09-03 22:55:52 +00: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 08:09:27 +00:00
|
|
|
DeepEquals = check.DeepEquals
|
|
|
|
HasLen = check.HasLen
|
|
|
|
IsNil = check.IsNil
|
|
|
|
Matches = check.Matches
|
|
|
|
Not = check.Not
|
|
|
|
NotNil = check.NotNil
|
2015-09-03 22:55:52 +00:00
|
|
|
|
2019-04-04 13:23:19 +00:00
|
|
|
Contains = shakers.Contains
|
|
|
|
Equals = shakers.Equals
|
|
|
|
False = shakers.False
|
|
|
|
GreaterThan = shakers.GreaterThan
|
|
|
|
True = shakers.True
|
2015-10-17 11:41:44 +00:00
|
|
|
)
|