Merge pull request #733 from BrianBland/drone-fmt

Fixes drone build
This commit is contained in:
Olivier Gambier 2014-11-15 20:01:38 -08:00
commit 3127ffcfb1

View file

@ -8,7 +8,7 @@ import (
// TestErrorCodes ensures that error code format, mappings and
// marshaling/unmarshaling. round trips are stable.
func TestErrorCodes(t *testing.T) {
for ec, _ := range errorCodeStrings {
for ec := range errorCodeStrings {
if ec.String() != errorCodeStrings[ec] {
t.Fatalf("error code string incorrect: %q != %q", ec.String(), errorCodeStrings[ec])
}