Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
gi8lino committed Aug 23, 2024
1 parent fb15009 commit 573e85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/taco/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,10 +389,10 @@ func TestWaitForTarget(t *testing.T) {
time.Sleep(200 * time.Millisecond) // Ensure runloop get a successful attempt
}()

var stdOut strings.Builder
ctx, cancel := context.WithCancel(context.Background())
defer cancel()

var stdOut strings.Builder
logger := slog.New(slog.NewTextHandler(&stdOut, &slog.HandlerOptions{}))
logger = logger.With(
"target_name", cfg.TargetName,
Expand Down

0 comments on commit 573e85a

Please sign in to comment.