aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Phan <derekphan94@gmail.com>2019-08-07 23:42:03 +0000
committerIan Lance Taylor <iant@golang.org>2019-08-08 00:38:10 +0000
commite9782bdebd7b55d8c40961dca10f5e91b06e9016 (patch)
tree00850b496716ecf5606ba901821682e6b2bb2fc6
parent0ca4f6be35d2abf54128b57c3aa1a1fcbd5adfe3 (diff)
downloadgo-e9782bdebd7b55d8c40961dca10f5e91b06e9016.tar.gz
go-e9782bdebd7b55d8c40961dca10f5e91b06e9016.zip
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 <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-rw-r--r--src/path/path_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path/path_test.go b/src/path/path_test.go
index 85b2450a62..2a3635300e 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)
}
}
}