Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 14, 05:15 UTC
tests: Remove noisy logs
Matthew Holt committed
Apr 6, 2020 at 10:41 UTC
81cdebf648e16760e5c76097419a114149acfc2f
1 file changed
-12
caddyconfig/caddyfile/parse_test.go
-12
@@ -568,10 +568,6 @@ func TestSnippets(t *testing.T) {
568
if err != nil {
569
t.Fatal(err)
570
}
571
- for _, b := range blocks {
572
- t.Log(b.Keys)
573
- t.Log(b.Segments)
574
- }
571
if len(blocks) != 1 {
572
t.Fatalf("Expect exactly one server block. Got %d.", len(blocks))
573
}
@@ -616,10 +612,6 @@ func TestImportedFilesIgnoreNonDirectiveImportTokens(t *testing.T) {
612
if err != nil {
613
t.Fatal(err)
614
}
619
- for _, b := range blocks {
620
- t.Log(b.Keys)
621
- t.Log(b.Segments)
622
- }
615
auth := blocks[0].Segments[0]
616
line := auth[0].Text + " " + auth[1].Text + " " + auth[2].Text + " " + auth[3].Text
617
if line != "basicauth / import password" {
@@ -651,10 +643,6 @@ func TestSnippetAcrossMultipleFiles(t *testing.T) {
643
if err != nil {
644
t.Fatal(err)
645
}
654
- for _, b := range blocks {
655
- t.Log(b.Keys)
656
- t.Log(b.Segments)
657
- }
646
if len(blocks) != 1 {
647
t.Fatalf("Expect exactly one server block. Got %d.", len(blocks))
648
}