Fixes formatting in errors_test.go to match gofmt rules

master
Brian Bland 2014-11-14 15:44:49 -08:00
parent 8a64db69ec
commit 39fee7d40a
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])
}