From 54d28d13e96db4337a3d28e37b582f1ff0d4f0a4 Mon Sep 17 00:00:00 2001 From: Francisco Javier Arceo Date: Fri, 9 May 2025 23:56:03 -0400 Subject: [PATCH] fix typo in comment Signed-off-by: Francisco Javier Arceo --- tests/unit/rag/test_vector_store.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/rag/test_vector_store.py b/tests/unit/rag/test_vector_store.py index 2624c058c..58cb3cc4b 100644 --- a/tests/unit/rag/test_vector_store.py +++ b/tests/unit/rag/test_vector_store.py @@ -81,7 +81,7 @@ class TestVectorStore: "window_len, overlap_len, expected_chunks", [ (5, 2, 4), # Create 4 chunks with window of 5 and overlap of 2 - (4, 1, 4), # Create 4 chunks with window of 3 and overlap of 1 + (4, 1, 4), # Create 4 chunks with window of 4 and overlap of 1 ], ) def test_make_overlapped_chunks(self, window_len, overlap_len, expected_chunks): @@ -93,6 +93,7 @@ class TestVectorStore: chunks = make_overlapped_chunks(document_id, text, window_len, overlap_len, original_metadata) assert len(chunks) == expected_chunks + print(len(chunks), expected_chunks) # Check that each chunk has the right metadata for chunk in chunks: