head: allow cognitive_complexity in test

This commit is contained in:
Daniel Hofstetter
2025-04-13 17:35:05 +02:00
parent 32dcaeef32
commit 64140b8ec9
+1
View File
@@ -473,6 +473,7 @@ mod tests {
}
#[test]
#[allow(clippy::cognitive_complexity)]
fn test_take_all_lines_buffer() {
// 3 lines with new-lines and one partial line.
let input_buffer = "a\nb\nc\ndef";