Browse Source

Merge pull request #133 from mttrs/govet

[test] Correct a printf verb type
pull/134/head
Matt Silverlock 10 years ago
parent
commit
48e889f422
  1. 2
      mux_test.go

2
mux_test.go

@ -1077,7 +1077,7 @@ func TestWalkSingleDepth(t *testing.T) {
return SkipRouter return SkipRouter
} }
if len(ancestors) != depths[i] { if len(ancestors) != depths[i] {
t.Errorf(`Expected depth of %d at i = %d; got "%s"`, depths[i], i, len(ancestors)) t.Errorf(`Expected depth of %d at i = %d; got "%d"`, depths[i], i, len(ancestors))
} }
if matcher.template != "/"+paths[i] { if matcher.template != "/"+paths[i] {
t.Errorf(`Expected "/%s" at i = %d; got "%s"`, paths[i], i, matcher.template) t.Errorf(`Expected "/%s" at i = %d; got "%s"`, paths[i], i, matcher.template)

Loading…
Cancel
Save