]> Cypherpunks repositories - gostls13.git/commitdiff
path: fix mismatch between error message and corresponding test function
authorDerek Phan <derekphan94@gmail.com>
Wed, 7 Aug 2019 23:42:03 +0000 (23:42 +0000)
committerIan Lance Taylor <iant@golang.org>
Thu, 8 Aug 2019 00:38:10 +0000 (00:38 +0000)
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 <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/path/path_test.go

index 85b2450a620246f3290ac1051abae74fddacc0fd..2a3635300ecbb66ebabc9774ee82842a7241f885 100644 (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)
                }
        }
 }