Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP committed Apr 30, 2024
1 parent 8e67662 commit d15b452
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/utils/test/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ func RunTestParsingLogs(t *testing.T, runTest func() error, parsedMsg interface{
var buf bytes.Buffer

// disable styling and time for tests
pterm.DisableStyling()
root.Printer = root.Printer.WithWriter(&buf)
root.Printer = output.NewPrinter(pterm.LogLevelInfo, pterm.LogFormatterJSON, &buf)

Check failure on line 46 in pkg/utils/test/test.go

View workflow job for this annotation

GitHub Actions / build-and-test

undefined: output
root.Printer.Logger = root.Printer.Logger.WithTime(false)

err := runTest()
Expand Down

0 comments on commit d15b452

Please sign in to comment.