summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-04-06 10:41:42 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2020-04-06 10:41:42 -0600
commit81cdebf648e16760e5c76097419a114149acfc2f (patch)
tree9ce62befa4a3c13070ab21b66b049cb85ea08042
parent84c729e96a32a52a41195fe3414fd0801e779f34 (diff)
tests: Remove noisy logs
-rwxr-xr-xcaddyconfig/caddyfile/parse_test.go12
1 files changed, 0 insertions, 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))
}