common: fix tests
This commit is contained in:
parent
2110edb690
commit
48fb1f9dfb
|
@ -144,8 +144,8 @@ func TestDownloadableURL_FilePaths(t *testing.T) {
|
||||||
for _, prefix := range []string{"", "file://"} {
|
for _, prefix := range []string{"", "file://"} {
|
||||||
// Nonexistent file
|
// Nonexistent file
|
||||||
_, err = DownloadableURL(prefix + "i/dont/exist")
|
_, err = DownloadableURL(prefix + "i/dont/exist")
|
||||||
if err == nil {
|
if err != nil {
|
||||||
t.Fatal("expected err")
|
t.Fatalf("err: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Good file
|
// Good file
|
||||||
|
|
Loading…
Reference in New Issue