From 81cdebf648e16760e5c76097419a114149acfc2f Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Mon, 6 Apr 2020 10:41:42 -0600 Subject: tests: Remove noisy logs --- caddyconfig/caddyfile/parse_test.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/caddyconfig/caddyfile/parse_test.go b/caddyconfig/caddyfile/parse_test.go index 902a8e7..ed15367 100755 --- a/caddyconfig/caddyfile/parse_test.go +++ b/caddyconfig/caddyfile/parse_test.go @@ -568,10 +568,6 @@ func TestSnippets(t *testing.T) { if err != nil { t.Fatal(err) } - for _, b := range blocks { - t.Log(b.Keys) - t.Log(b.Segments) - } if len(blocks) != 1 { t.Fatalf("Expect exactly one server block. Got %d.", len(blocks)) } @@ -616,10 +612,6 @@ func TestImportedFilesIgnoreNonDirectiveImportTokens(t *testing.T) { if err != nil { t.Fatal(err) } - for _, b := range blocks { - t.Log(b.Keys) - t.Log(b.Segments) - } auth := blocks[0].Segments[0] line := auth[0].Text + " " + auth[1].Text + " " + auth[2].Text + " " + auth[3].Text if line != "basicauth / import password" { @@ -651,10 +643,6 @@ func TestSnippetAcrossMultipleFiles(t *testing.T) { if err != nil { t.Fatal(err) } - for _, b := range blocks { - t.Log(b.Keys) - t.Log(b.Segments) - } if len(blocks) != 1 { t.Fatalf("Expect exactly one server block. Got %d.", len(blocks)) } -- cgit v1.2.3