Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use require.Error in test instead of assert.Error to prevent nil poin…
…ter deref Another issue fixed by a different commit exposed that failure to stop the test on this error generates a nil pointer dereference when we try to check the contents of a non-existent error. Using require.Error stops the test before reaching the dereference.
- Loading branch information