mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
56586cae1b
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. |
||
---|---|---|
.. | ||
abaputils_test.go | ||
abaputils.go | ||
addonDescriptor.go | ||
manageGitRepositoryUtils_test.go | ||
manageGitRepositoryUtils.go |