mirror of
https://github.com/docker/cli.git
synced 2025-08-30 12:01:10 +03:00
Post migration fixes
Fix tests that failed when using cmp.Compare() internal/test/testutil/assert InDelta Fix DeepEqual with kube metav1.Time Convert some ErrorContains to assert Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
@@ -22,7 +22,7 @@ func TestGetStackAPIVersion(t *testing.T) {
|
||||
for _, test := range tests {
|
||||
version, err := getAPIVersion(test.groups)
|
||||
if test.err {
|
||||
assert.Assert(t, is.ErrorContains(err, ""))
|
||||
assert.ErrorContains(t, err, "")
|
||||
} else {
|
||||
assert.NilError(t, err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user