filepath: fix Glob to return no error on nonmatching patterns
filepath.Glob is documented to return nil if no files match and an error only if the pattern is invalid. This change fixes it to work as documented and adds a regression test. R=golang-dev, r CC=golang-dev https://golang.org/cl/5040045
Showing
Please register or sign in to comment