Merge pull request #733 from BrianBland/drone-fmt

Fixes drone build
pull/4/head
Olivier Gambier 2014-11-15 20:01:38 -08:00
commit 3127ffcfb1
1 changed files with 1 additions and 1 deletions

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])
}