forked from mirrors/gstreamer-rs
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]
|
#[test]
|
||||||
|
#[allow(clippy::cognitive_complexity)]
|
||||||
fn test_memories() {
|
fn test_memories() {
|
||||||
::init().unwrap();
|
::init().unwrap();
|
||||||
|
|
||||||
|
|
|
@ -437,6 +437,7 @@ mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[allow(clippy::cognitive_complexity)]
|
||||||
fn test_buffer_cursor() {
|
fn test_buffer_cursor() {
|
||||||
use std::io::{self, Read, Seek, Write};
|
use std::io::{self, Read, Seek, Write};
|
||||||
|
|
||||||
|
@ -528,6 +529,7 @@ mod tests {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[allow(clippy::cognitive_complexity)]
|
||||||
fn test_buffer_cursor_ref() {
|
fn test_buffer_cursor_ref() {
|
||||||
use std::io::{self, Read, Seek, Write};
|
use std::io::{self, Read, Seek, Write};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue