Commit 48fb1f9d authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

common: fix tests

parent 2110edb6
......@@ -144,8 +144,8 @@ func TestDownloadableURL_FilePaths(t *testing.T) {
for _, prefix := range []string{"", "file://"} {
// Nonexistent file
_, err = DownloadableURL(prefix + "i/dont/exist")
if err == nil {
t.Fatal("expected err")
if err != nil {
t.Fatalf("err: %s", err)
}
// Good file
......
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