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:
parent
0ca4f6be35
commit
8c6704ea8c
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user