From a90bbbc6fa11b6a5c4ad95c2ab27eb51229890a5 Mon Sep 17 00:00:00 2001 From: mitsuteru sawa Date: Sat, 7 Nov 2015 21:34:30 +0900 Subject: [PATCH] Correct a printf verb type % go vet mux_test.go:1080: arg len(ancestors) for printf verb %s of wrong type: int --- mux_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mux_test.go b/mux_test.go index 5732d2d..d1eae92 100644 --- a/mux_test.go +++ b/mux_test.go @@ -1077,7 +1077,7 @@ func TestWalkSingleDepth(t *testing.T) { return SkipRouter } 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] { t.Errorf(`Expected "/%s" at i = %d; got "%s"`, paths[i], i, matcher.template)