Skip to content

Commit

Permalink
fix logget test
Browse files Browse the repository at this point in the history
  • Loading branch information
asmyasnikov committed Mar 26, 2024
1 parent e959a37 commit 10d715a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions log/logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
)

func TestColoring(t *testing.T) {
zeroClock := clockwork.NewFakeClock()
fullDuration := zeroClock.Now().Sub(time.Date(1984, 4, 4, 0, 0, 0, 0, time.UTC))
zeroClock.Advance(-fullDuration) // set zero time
zeroClock := clockwork.NewFakeClockAt(
time.Date(1984, 4, 4, 0, 0, 0, 0, time.UTC),
)
for _, tt := range []struct {
l *defaultLogger
msg string
Expand Down

0 comments on commit 10d715a

Please sign in to comment.