1
0
mirror of https://github.com/golang/go synced 2024-11-07 15:46:23 -07:00
go/src/path
John Gibb f6a5fada27 path: present the correct error message in TestMatch
The message was hardcoded to indicate that the test wanted a nil error, even
though in some cases a specific error was wanted. This patch fixes the
message to print the wanted error.

Change-Id: Id86ea89d6f41f25bfa164acc50142ae8ff0ec410
GitHub-Last-Rev: c220374845
GitHub-Pull-Request: golang/go#26674
Reviewed-on: https://go-review.googlesource.com/126619
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2018-07-29 19:18:48 +00:00
..
filepath filepath: updates doc to give case where WalkFunc info arg may be nil 2018-07-18 19:53:37 +00:00
example_test.go
match_test.go path: present the correct error message in TestMatch 2018-07-29 19:18:48 +00:00
match.go path: remove filename mentions from pattern godocs 2018-02-14 10:17:44 +00:00
path_test.go
path.go