From e3d289fec88f17ca2ddd31de96a2f14b308e5f99 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 31 Oct 2026 06:57:34 +0100 Subject: [PATCH] sources tests: the batch test belongs after the last test, not inside it Co-Authored-By: Claude Sonnet 5.5 --- crates/huginn-daemon/src/sources/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/huginn-daemon/src/sources/tests.rs b/crates/huginn-daemon/src/sources/tests.rs index 16ba5d8..9378559 100644 --- a/crates/huginn-daemon/src/sources/tests.rs +++ b/crates/huginn-daemon/src/sources/tests.rs @@ -406,6 +406,7 @@ fn a_chunk_id_is_its_content_address() { assert_ne!(base, other); } assert_ne!(chunk_id("R", "pb", "lob", 0), chunk_id("R", "p", "blob", 0), "fields are separated, not concatenated"); +} /// Chunks are embedded in batches of at most `BATCH`, however many a repo has. #[test] @@ -420,4 +421,3 @@ fn chunks_are_embedded_in_bounded_batches() { assert_eq!(sizes, [BATCH, BATCH, 6]); assert_eq!(rig.index.held().len(), 70); } -}