1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
use io_flush::IoFlushCommand; pub fn io_flush() -> IoFlushCommand { IoFlushCommand::new() } #[cfg(test)] mod test { use super::*; use io_flush::IoFlushCommand; #[test] fn test_io_flush() { let syntax = io_flush(); let actual = IoFlushCommand::new(); assert_eq!(syntax, actual); } }