From e9782bdebd7b55d8c40961dca10f5e91b06e9016 Mon Sep 17 00:00:00 2001 From: Derek Phan Date: Wed, 7 Aug 2019 23:42:03 +0000 Subject: [PATCH] path: fix mismatch between error message and corresponding test function Change-Id: Ib0ae6e3e678dc7ace21b891e946ffc6bc2a78835 GitHub-Last-Rev: 8c6704ea8c032072ac339dc9d1c6ec78aec15b2a GitHub-Pull-Request: golang/go#33534 Reviewed-on: https://go-review.googlesource.com/c/go/+/189378 Run-TryBot: Ian Lance Taylor TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- src/path/path_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path/path_test.go b/src/path/path_test.go index 85b2450a620..2a3635300ec 100644 --- a/src/path/path_test.go +++ b/src/path/path_test.go @@ -138,7 +138,7 @@ var jointests = []JoinTest{ func TestJoin(t *testing.T) { for _, test := range jointests { if p := Join(test.elem...); p != test.path { - t.Errorf("join(%q) = %q, want %q", test.elem, p, test.path) + t.Errorf("Join(%q) = %q, want %q", test.elem, p, test.path) } } }