Skip to content

Commit

Permalink
Use simpler test helper
Browse files Browse the repository at this point in the history
Signed-off-by: David Gageot <david@gageot.net>
  • Loading branch information
dgageot committed Aug 31, 2018
1 parent 1324cbd commit 1ac9d35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/skaffold/build/gcb/cloud_build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ func TestBuildDescription(t *testing.T) {
Timeout: "10m",
}

testutil.CheckErrorAndDeepEqual(t, false, nil, expected, *desc)
testutil.CheckDeepEqual(t, expected, *desc)
}
2 changes: 1 addition & 1 deletion pkg/skaffold/watch/changes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func TestHasChanged(t *testing.T) {

changed := hasChanged(prev, curr)

testutil.CheckErrorAndDeepEqual(t, false, nil, test.expectedChanged, changed)
testutil.CheckDeepEqual(t, test.expectedChanged, changed)
})
}
}

0 comments on commit 1ac9d35

Please sign in to comment.