Fix streaming test formatting
This commit is contained in:
parent
cf5563c3ad
commit
e58c2514fa
1 changed files with 6 additions and 1 deletions
|
|
@ -195,7 +195,12 @@ func TestProcessMessage_SkipsStreamingProviderWhenDisabled(t *testing.T) {
|
|||
t.Fatal("expected Chat() to be used when streaming is disabled")
|
||||
}
|
||||
if len(streamer.updates) != 0 || len(streamer.finalized) != 0 || streamer.canceled {
|
||||
t.Fatalf("streamer should stay unused, got updates=%#v finalized=%#v canceled=%v", streamer.updates, streamer.finalized, streamer.canceled)
|
||||
t.Fatalf(
|
||||
"streamer should stay unused, got updates=%#v finalized=%#v canceled=%v",
|
||||
streamer.updates,
|
||||
streamer.finalized,
|
||||
streamer.canceled,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue