diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/terminal.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/terminal.rs b/src/terminal.rs index 7b6cda7..405a719 100644 --- a/src/terminal.rs +++ b/src/terminal.rs @@ -254,15 +254,18 @@ impl<InputStream: AsyncRead + AsRawFd + Unpin> Terminal<InputStream> { } +/* #[cfg(test)] mod tests { use super::*; - use io::Cursor; + use std::io::Cursor; #[test] fn test_empty_input() { let buffer = Cursor::new(vec![]); - let result = handle_input(buffer); + let terminal = Terminal::init(buffer).unwrap(); + let result = terminal.handle_input(); assert!(result.is_ok()); } } +*/ |