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:
parent
32dcaeef32
commit
64140b8ec9
1 changed files with 1 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue