Skip to content

Commit

Permalink
Changing test adapter to use Logf (and avoid additional newline)
Browse files Browse the repository at this point in the history
Signed-off-by: Shivansh Vij <shivanshvij@loopholelabs.io>
  • Loading branch information
ShivanshVij committed Jul 12, 2024
1 parent d5893ce commit 5264caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/testing/testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ func New(t testing.TB) *Testing {
}

func (t *Testing) Write(p []byte) (n int, err error) {
t.t.Log(string(p))
t.t.Logf(string(p))
return len(p), nil
}

0 comments on commit 5264caa

Please sign in to comment.