Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

fixed test for chunking

Saurav Pandaf88d79a3c3d0
diff --git a/tests/ci/test_markdown_chunking.py b/tests/ci/test_markdown_chunking.py
index f208d2f37..a85c067f5 100644
--- a/tests/ci/test_markdown_chunking.py
+++ b/tests/ci/test_markdown_chunking.py
@@ -95,6 +95,7 @@ class TestChunkMarkdownHeaderPreferred:
chunks = chunk_markdown_by_structure(content, max_chunk_chars=700)
# First chunk should contain both headers (no tiny split)
assert '# Section A' in chunks[0].content
+ assert '# Section B' in chunks[0].content
class TestChunkMarkdownCodeFence: