Skip to content

Commit

Permalink
enable debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
rusq committed Jan 2, 2025
1 parent e148174 commit 4992a3f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/slackdump/internal/diag/hydrate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"bytes"
"context"
"fmt"
"log/slog"
"net/http"
"net/http/httptest"
"testing"
Expand All @@ -15,6 +16,10 @@ import (
"github.com/rusq/slackdump/v3/mocks/mock_downloader"
)

func init() {
slog.SetLogLoggerLevel(slog.LevelDebug)
}

func Test_httpget_GetFileContext(t *testing.T) {
srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintln(w, "Hello, client")
Expand Down

0 comments on commit 4992a3f

Please sign in to comment.