prefer NoError/Error over Nil/NotNil (#12271)

This commit is contained in:
Stephen Solka authored and GitHub committed 2020-07-19 12:53:40 +03:00
1 parent b609a25014
commit 54513452a1
11 files changed
+34 -34

No files matched your search

+1 -1
View File
@@ -99,6 +99,6 @@ func TestGetFileResponseFromCommit(t *testing.T) {
expectedFileResponse := getExpectedFileResponse()
fileResponse, err := GetFileResponseFromCommit(repo, commit, branch, treePath)
assert.Nil(t, err)
assert.NoError(t, err)
assert.EqualValues(t, expectedFileResponse, fileResponse)
}