sources tests: the batch test belongs after the last test, not inside it

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-31 06:57:34 +01:00
commit e3d289fec8

View file

@ -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);
}
}