From 89e18df591fdba5488d7bffd1d8e46101287a596 Mon Sep 17 00:00:00 2001 From: redowan Date: Tue, 6 Feb 2024 00:26:24 +0100 Subject: [PATCH] More e2e tests --- cmd/link-patrol/main_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/link-patrol/main_test.go b/cmd/link-patrol/main_test.go index f6da4b7..97b652b 100644 --- a/cmd/link-patrol/main_test.go +++ b/cmd/link-patrol/main_test.go @@ -131,9 +131,7 @@ func TestCLIPrintTab(t *testing.T) { output, `Message : Get "https://doesnt.exist": dial tcp: lookup doesnt.exist`, ) - assert.Contains(t, output, "Attempt : 1") assert.Contains(t, output, "Location : https://wot.wot/") - assert.Contains(t, output, "Status Code: -") assert.Contains(t, output, "OK : false") assert.Contains( t, @@ -142,8 +140,6 @@ func TestCLIPrintTab(t *testing.T) { ) assert.Contains(t, output, "Attempt : 1") assert.Contains(t, output, "Location : https://not.either") - assert.Contains(t, output, "Status Code: -") - assert.Contains(t, output, "OK : false") assert.Contains( t, output,