Make all tests not output anything
This commit is contained in:
@@ -11,6 +11,7 @@ pub mod ops;
|
||||
pub mod stack;
|
||||
pub mod pool;
|
||||
pub mod frame;
|
||||
pub mod stubs;
|
||||
|
||||
#[cfg(feature = "bonus:network")]
|
||||
pub mod netstack;
|
||||
|
||||
6
src/stubs.rs
Normal file
6
src/stubs.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
use std::sync::{Arc, Mutex};
|
||||
use std::io::Cursor;
|
||||
|
||||
pub fn output_stub() -> Arc<Mutex<Cursor<Vec<u8>>>> {
|
||||
Arc::new(Mutex::new(Cursor::new(Vec::new())))
|
||||
}
|
||||
Reference in New Issue
Block a user