From d160664ef14f1b3f6713e8cdab04a2cfd7ef3e58 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Tue, 24 Dec 2024 20:45:53 +0300 Subject: [PATCH] fixup test Signed-off-by: Vasiliy Tolstov --- logger/slog/slog_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logger/slog/slog_test.go b/logger/slog/slog_test.go index a88f852a..d527110c 100644 --- a/logger/slog/slog_test.go +++ b/logger/slog/slog_test.go @@ -50,7 +50,7 @@ func TestStacktrace(t *testing.T) { l.Error(ctx, "msg1", errors.New("err")) - if !bytes.Contains(buf.Bytes(), []byte(`slog_test.go:29`)) { + if !bytes.Contains(buf.Bytes(), []byte(`slog_test.go:51`)) { t.Fatalf("logger error not works, buf contains: %s", buf.Bytes()) } }