common: fix tests

This commit is contained in:
Mitchell Hashimoto 2013-12-06 18:36:16 -08:00
parent 2110edb690
commit 48fb1f9dfb
1 changed files with 2 additions and 2 deletions

View File

@ -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