1
0
mirror of https://github.com/golang/go synced 2024-09-29 03:34:33 -06:00

path: fix mismatch between error message and corresponding test function

This commit is contained in:
Derek Phan 2019-08-07 16:27:19 -07:00
parent 0ca4f6be35
commit 8c6704ea8c

View File

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