1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

head: allow cognitive_complexity in test

This commit is contained in:
Daniel Hofstetter 2025-04-13 17:16:31 +02:00
parent 32dcaeef32
commit 64140b8ec9

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";