From 64140b8ec96bd3a75bcb3dc1507e7a5c40c83c9e Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Sun, 13 Apr 2025 17:16:31 +0200 Subject: [PATCH] head: allow cognitive_complexity in test --- src/uu/head/src/take.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/uu/head/src/take.rs b/src/uu/head/src/take.rs index 0464a397b..1a303bbd4 100644 --- a/src/uu/head/src/take.rs +++ b/src/uu/head/src/take.rs @@ -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";