mirror of
https://github.com/golang/go
synced 2024-11-11 22:30:21 -07:00
exp/template: trivial cleanup in test
Clean up glitch created by flurry of editing. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4808052
This commit is contained in:
parent
54045e6bcd
commit
f0d8af200c
@ -139,9 +139,9 @@ func TestParseSetFile(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestParseSetFiles(t *testing.T) {
|
||||
set, err := ParseSetFiles("NO SUCH FILE")
|
||||
set, err := ParseSetFiles("DOES NOT EXIST")
|
||||
if err == nil {
|
||||
t.Error("expected error for empty file list; got none")
|
||||
t.Error("expected error for non-existent file; got none")
|
||||
}
|
||||
set, err = ParseSetFiles("[x")
|
||||
if err == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user