diff options
author | Derek Phan <derekphan94@gmail.com> | 2019-08-07 23:42:03 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2019-08-08 00:38:10 +0000 |
commit | e9782bdebd7b55d8c40961dca10f5e91b06e9016 (patch) | |
tree | 00850b496716ecf5606ba901821682e6b2bb2fc6 /src/path | |
parent | 0ca4f6be35d2abf54128b57c3aa1a1fcbd5adfe3 (diff) | |
download | go-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>
Diffstat (limited to 'src/path')
-rw-r--r-- | src/path/path_test.go | 2 |
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) } } } |