Skip to content

Commit e1af9ba

Browse files
committed
fix: add split between new lines chars
1 parent 847788a commit e1af9ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

workflowai/core/client/_api_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ async def test_stream_with_single_chunk(
139139
# Split not at the end
140140
[b'data: {"a":"test"}', b'\n\ndata: {"a":"test2"}\n\n'],
141141
# Really messy
142-
[b"dat", b'a: {"a":"', b'test"}', b"\n\ndata", b': {"a":"test2"}\n\n'],
142+
[b"dat", b'a: {"a":"', b'test"}', b"\n", b"\ndata", b': {"a":"test2"}\n\n'],
143143
],
144144
)
145145
async def test_stream_with_multiple_chunks(

0 commit comments

Comments
 (0)