Expose invocation reporting mode
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
func TestReporterReportQuietAndClosed(t *testing.T) {
|
||||
var out bytes.Buffer
|
||||
reporter := newReporter(Streams{Out: &out})
|
||||
reporter.state.mode = modeQuiet
|
||||
reporter.state.mode = ReportingModeQuiet
|
||||
err := reporter.Report(Report{Value: make(chan int)})
|
||||
if err == nil {
|
||||
t.Fatal("expected serialization error")
|
||||
|
||||
Reference in New Issue
Block a user