feat(report): considering App.Writer when printing results (#1722)

Co-authored-by: knqyf263 <knqyf263@gmail.com>
This commit is contained in:
Guy Ben-Aharon
2022-02-21 16:47:42 +02:00
committed by GitHub
parent 356ae30c7e
commit 4423396bcc
4 changed files with 10 additions and 7 deletions

View File

@@ -154,7 +154,7 @@ func TestReportReportConfig_Init(t *testing.T) {
Output: tt.fields.Output,
}
err := c.Init(logger.Sugar())
err := c.Init(os.Stdout, logger.Sugar())
// tests log messages
var gotMessages []string