From 64ae2edb5a97f05f5592f58422adbc6ac089f9e8 Mon Sep 17 00:00:00 2001 From: Horus_Arch Date: Thu, 26 Feb 2015 02:40:52 +0100 Subject: Clean up. More backend code. Better UX and design. --- app/fetch_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/fetch_test.go') diff --git a/app/fetch_test.go b/app/fetch_test.go index b71a3fe..9baf9c8 100644 --- a/app/fetch_test.go +++ b/app/fetch_test.go @@ -26,7 +26,7 @@ func TestCheckPage(t *testing.T) { Monitored: true, } h = append(h, host) - test := CheckPage(h) + test := CheckPages(h) if test == nil { t.Fatal("Expected slice to be not nil.") } @@ -50,7 +50,7 @@ func TestCheckPage(t *testing.T) { Monitored: true, } h2 = append(h2, host2) - test2 := CheckPage(h2) + test2 := CheckPages(h2) if test2[0].StatusCode != 200 { t.Errorf("Expected StatusCode 200 instead of %v.\n", test2[0].StatusCode) t.Logf("Failed test for %v .\n", test2[0].Url) -- cgit v1.2.3