gstreamer: ignore cognitive_complexity warnings

Those are just long tests.
This commit is contained in:
Guillaume Desmottes 2020-04-21 10:17:46 +02:00
parent a12b51abd6
commit 6a72f65b3b
2 changed files with 3 additions and 0 deletions

View file

@ -1118,6 +1118,7 @@ mod tests {
}
#[test]
#[allow(clippy::cognitive_complexity)]
fn test_memories() {
::init().unwrap();

View file

@ -437,6 +437,7 @@ mod tests {
use super::*;
#[test]
#[allow(clippy::cognitive_complexity)]
fn test_buffer_cursor() {
use std::io::{self, Read, Seek, Write};
@ -528,6 +529,7 @@ mod tests {
}
#[test]
#[allow(clippy::cognitive_complexity)]
fn test_buffer_cursor_ref() {
use std::io::{self, Read, Seek, Write};