diff options
Diffstat (limited to 'libgo/go/path/filepath/match_test.go')
-rw-r--r-- | libgo/go/path/filepath/match_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/path/filepath/match_test.go b/libgo/go/path/filepath/match_test.go index ae7ca1c228f..12d922f83bc 100644 --- a/libgo/go/path/filepath/match_test.go +++ b/libgo/go/path/filepath/match_test.go @@ -155,8 +155,8 @@ func TestGlob(t *testing.T) { } func TestGlobError(t *testing.T) { - _, err := Glob("[7]") - if err != nil { + _, err := Glob("[]") + if err == nil { t.Error("expected error for bad pattern; got none") } } |