Skip to content

Commit

Permalink
Fixed the test.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsumit committed May 15, 2024
1 parent 4816575 commit a5b8a6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func TestHandler(t *testing.T) {
F: func(l *slog.Logger) {
l.Info("test", "key", "val")
},
Want: `Nov 10 23:00:00.000 INF tint/handler_test.go:100 test key=val`,
Want: `Nov 10 23:00:00.000 INF tint/handler_test.go:115 test key=val`,
},
{
Opts: &tint.Options{
Expand Down Expand Up @@ -341,7 +341,7 @@ func TestHandler(t *testing.T) {
F: func(l *slog.Logger) {
l.Info("test")
},
Want: `Nov 10 23:00:00.000 INF tint/handler_test.go:327 test`,
Want: `Nov 10 23:00:00.000 INF tint/handler_test.go:342 test`,
},
{ // https://github.com/lmittmann/tint/issues/44
F: func(l *slog.Logger) {
Expand All @@ -359,7 +359,7 @@ func TestHandler(t *testing.T) {
},
Want: `Nov 10 23:00:00.000 INF test key="{A:123 B:<nil>}"`,
},
{ // https://github.com/lmittmann/tint/issues/37
{ // https://github.com/lmittmann/tint/issues/61
Opts: &tint.Options{
Level: slog.LevelDebug,
LevelMeta: map[slog.Level]tint.LevelMeta{
Expand Down

0 comments on commit a5b8a6a

Please sign in to comment.