Procházet zdrojové kódy

Ignore uninlined_format_args warnings in tests.

Jing Yang před 3 roky
rodič
revize
48c988f35b

+ 2 - 0
kvraft/tests/service_test.rs

@@ -1,3 +1,5 @@
+#![allow(clippy::uninlined_format_args)]
+
 use std::sync::atomic::{AtomicUsize, Ordering};
 use std::sync::Arc;
 

+ 2 - 0
test_configs/src/lib.rs

@@ -1,3 +1,5 @@
+#![allow(clippy::uninlined_format_args)]
+
 pub mod interceptor;
 pub mod kvraft;
 mod persister;

+ 1 - 0
tests/agreement_tests.rs

@@ -1,4 +1,5 @@
 #![allow(clippy::identity_op)]
+#![allow(clippy::uninlined_format_args)]
 
 use rand::{thread_rng, Rng};
 use scopeguard::defer;

+ 1 - 0
tests/persist_tests.rs

@@ -1,4 +1,5 @@
 #![allow(clippy::identity_op)]
+#![allow(clippy::uninlined_format_args)]
 
 use std::sync::atomic::AtomicBool;
 use std::sync::atomic::Ordering;