1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/pkg/abaputils
Marcus Holl 56586cae1b
Remove assert.Error right before assert.EqualError (#2344)
Is there any benefit from having

```
assert.Error(./.)
assert.EqualError(./.)
```

?

assert.Error ensures that we have an error.
assert.EqualError ensures that we have an error and
moreover it checks for a specific error. Hence
assert.EqualError does all and more what assert.Error
does.

In case there is a benefit from that pattern this PR should not be merged.
In case there is not benefit from that pattern  we should abandong that pattern.
2020-11-11 14:14:55 +01:00
..
abaputils_test.go Remove assert.Error right before assert.EqualError (#2344) 2020-11-11 14:14:55 +01:00
abaputils.go Fix for EOF issue (#2143) 2020-10-08 11:08:58 +02:00
addonDescriptor.go Add commit to clone and pull (#2258) 2020-11-02 14:17:13 +01:00
manageGitRepositoryUtils_test.go Add commit to clone and pull (#2258) 2020-11-02 14:17:13 +01:00
manageGitRepositoryUtils.go Add commit to clone and pull (#2258) 2020-11-02 14:17:13 +01:00