Commit f0d8af20 authored by Rob Pike's avatar Rob Pike

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
parent 54045e6b
...@@ -139,9 +139,9 @@ func TestParseSetFile(t *testing.T) { ...@@ -139,9 +139,9 @@ func TestParseSetFile(t *testing.T) {
} }
func TestParseSetFiles(t *testing.T) { func TestParseSetFiles(t *testing.T) {
set, err := ParseSetFiles("NO SUCH FILE") set, err := ParseSetFiles("DOES NOT EXIST")
if err == nil { 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") set, err = ParseSetFiles("[x")
if err == nil { if err == nil {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment