mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 03:21:03 +00:00
gstreamer: ignore cognitive_complexity warnings
Those are just long tests.
This commit is contained in:
parent
a12b51abd6
commit
6a72f65b3b
2 changed files with 3 additions and 0 deletions
|
@ -1118,6 +1118,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[allow(clippy::cognitive_complexity)]
|
||||
fn test_memories() {
|
||||
::init().unwrap();
|
||||
|
||||
|
|
|
@ -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};
|
||||
|
||||
|
|
Loading…
Reference in a new issue