Skip to content

Commit

Permalink
Remove unnecessary sprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
geofffranks authored and ebroberson committed Mar 6, 2024
1 parent a71fa5d commit 31fbd03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions depot/steps/health_check_step_test.go
Expand Up @@ -2,7 +2,6 @@ package steps_test

import (
"errors"
"fmt"
"os"
"time"

Expand Down Expand Up @@ -153,7 +152,7 @@ var _ = Describe("NewHealthCheckStep", func() {

It("emits the healthcheck process response for the failure", func() {
Eventually(fakeHealthCheckStreamer.Stderr().(*gbytes.Buffer)).Should(
gbytes.Say(fmt.Sprintf("oh no!\n")),
gbytes.Say("oh no!\n"),
)
})

Expand Down

0 comments on commit 31fbd03

Please sign in to comment.