summary refs log tree commit diff
path: root/ripple
diff options
context:
space:
mode:
Diffstat (limited to 'ripple')
-rw-r--r--ripple/fossil/src/chunker/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/ripple/fossil/src/chunker/mod.rs b/ripple/fossil/src/chunker/mod.rs
index 3bc160e..3451990 100644
--- a/ripple/fossil/src/chunker/mod.rs
+++ b/ripple/fossil/src/chunker/mod.rs
@@ -163,7 +163,9 @@ mod test {
 	}
 
 	#[test]
-	fn all_zeroes() {
+	fn max_chunk() {
+		// all-zero byte sequences don't contain any split points,
+		// so the chunker is forced to limit the chunk size
 		assert_eq!(
 			super::Chunker::from(&[0u8; super::MAX_CHUNK_SIZE + 1])
 				.next()