diff --git a/integration/get_test.go b/integration/get_test.go index 04dc753..9697d4f 100644 --- a/integration/get_test.go +++ b/integration/get_test.go @@ -16,7 +16,7 @@ import ( ) func TestGetRedirect(t *testing.T) { - log.Printf("== TestGetRedirect ==\n") + log.Printf("=== TestGetRedirect ===\n") // test custom domain redirect resp, err := getTestHTTPSClient().Get("https://calciumdibromid.localhost.mock.directory:4430") assert.NoError(t, err) @@ -28,7 +28,7 @@ func TestGetRedirect(t *testing.T) { } func TestGetContent(t *testing.T) { - log.Printf("== TestGetContent ==\n") + log.Printf("=== TestGetContent ===\n") // test get image resp, err := getTestHTTPSClient().Get("https://magiclike.localhost.mock.directory:4430/images/827679288a.jpg") assert.NoError(t, err) @@ -50,6 +50,7 @@ func TestGetContent(t *testing.T) { } func TestCustomDomain(t *testing.T) { + log.Printf("=== TestCustomDomain ===\n") resp, err := getTestHTTPSClient().Get("https://mock-pages.codeberg-test.org:4430/README.md") assert.NoError(t, err) if !assert.EqualValues(t, http.StatusOK, resp.StatusCode) { @@ -60,7 +61,7 @@ func TestCustomDomain(t *testing.T) { } func TestGetNotFound(t *testing.T) { - log.Printf("== TestGetNotFound ==\n") + log.Printf("=== TestGetNotFound ===\n") // test custom not found pages resp, err := getTestHTTPSClient().Get("https://crystal.localhost.mock.directory:4430/pages-404-demo/blah") assert.NoError(t, err) diff --git a/integration/main_test.go b/integration/main_test.go index 43f6792..8104413 100644 --- a/integration/main_test.go +++ b/integration/main_test.go @@ -16,14 +16,14 @@ import ( ) func TestMain(m *testing.M) { - log.Printf("=== TestMain: START Server ==\n") + log.Printf("=== TestMain: START Server ===\n") serverCtx, serverCancel := context.WithCancel(context.Background()) if err := startServer(serverCtx); err != nil { log.Fatal().Msgf("could not start server: %v", err) } defer func() { serverCancel() - log.Printf("=== TestMain: Server STOPED ==\n") + log.Printf("=== TestMain: Server STOPED ===\n") }() time.Sleep(20 * time.Second)