From 48fb1f9dfb02a79af0d6f9796f497cb43e0c5d59 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 6 Dec 2013 18:36:16 -0800 Subject: [PATCH] common: fix tests --- common/config_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/config_test.go b/common/config_test.go index ea994de51..c58c105e6 100644 --- a/common/config_test.go +++ b/common/config_test.go @@ -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