should test error creation code
Bug #1169834 reported by
John A Meinel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Go OpenStack Exchange |
Triaged
|
Medium
|
Unassigned |
Bug Description
We had a bug with how we were formatting error messages:
https:/
Clearly that code wasn't being exercised by the test suite. (err.Newf(foo, fmt, vars) not Newf(foo, var, fmt))
If the code is hard to test right now, it should be refactored to make it easier to at least have unit-level tests that we are going to be giving decent error messages to users.
tags: | added: tech-debt |
To post a comment you must log in.