diff options
author | Irene Knapp <ireneista@gmail.com> | 2023-03-12 22:34:42 -0700 |
---|---|---|
committer | Irene Knapp <ireneista@gmail.com> | 2023-03-12 22:34:42 -0700 |
commit | 93f935c38c7ed6108eea556cacb69a097f6bcf4b (patch) | |
tree | f844da949fd7c509917b4956633721ae1aeb7780 /src | |
parent | b1b668ddaff33c6d5e7ca298675c4f2e6b06f7a1 (diff) |
fully flakeify
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()); } } +*/ |