summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@gmail.com>2023-03-12 22:34:42 -0700
committerIrene Knapp <ireneista@gmail.com>2023-03-12 22:34:42 -0700
commit93f935c38c7ed6108eea556cacb69a097f6bcf4b (patch)
treef844da949fd7c509917b4956633721ae1aeb7780 /src
parentb1b668ddaff33c6d5e7ca298675c4f2e6b06f7a1 (diff)
fully flakeify
Diffstat (limited to 'src')
-rw-r--r--src/terminal.rs7
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());
   }
 }
+*/