diff --git a/.golangci.yml b/.golangci.yml index f6dab404fd0..538f8535712 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -90,10 +90,6 @@ linters-settings: pkg: ^\Qgithub.com/jackc/pgx/v5/pgxpool\E$ msg: Use `Acquire` with `defer Release()` instead. - # - p: ^slog\.(Debug|Info|Want|Error|Log) - # pkg: ^\Qlog/slog\E$ - # msg: Do not use default slog logger. - # integration tests use a different configuration file - p: ^\Qbson.E\E$ pkg: ^\Qgo.mongodb.org/mongo-driver/bson\E$ diff --git a/internal/util/testutil/dump.go b/internal/util/testutil/dump.go index 07b85cbbee4..aed228ccb35 100644 --- a/internal/util/testutil/dump.go +++ b/internal/util/testutil/dump.go @@ -42,7 +42,8 @@ func Dump[T types.Type](tb testtb.TB, o T) string { func DumpSlice[T types.Type](tb testtb.TB, s []T) string { tb.Helper() - // We might switch to go-spew or something else later. + // We should switch to bson2's format. + // TODO https://github.com/FerretDB/FerretDB/issues/4157 res := []byte("[")