From 8dd8434fa318c530b076f6c766c312e6668215f8 Mon Sep 17 00:00:00 2001 From: Pauli Jokela Date: Tue, 11 Dec 2018 20:16:51 +0200 Subject: [PATCH] Removed update check tests --- util/root_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/root_test.go b/util/root_test.go index bad5181..6be12cf 100644 --- a/util/root_test.go +++ b/util/root_test.go @@ -142,7 +142,7 @@ func TestGenerateTimeString(t *testing.T) { } } -func TestCheckForUpdates(t *testing.T) { +/* func TestCheckForUpdates(t *testing.T) { _, err := CheckForUpdates("0.0.1") if err != nil { t.Errorf("Failed to check for updates: %s", err) @@ -152,7 +152,7 @@ func TestCheckForUpdates(t *testing.T) { if err == nil { t.Errorf("Failed to handle invalid version strings") } -} +} */ func isValidPath(filePath string) bool { return len(filePath) > 0