Fix tests

Errors/warnings fixed.
This commit is contained in:
Joe Wilm committed 2016-08-14 20:25:15 -07:00
1 parent 8b4b1f8df1
commit e3c68fed87
2 files changed
+1 -3

No files matched your search

-1
View File
@@ -1072,7 +1072,6 @@ impl Default for State {
// Byte sequences used in these tests are recording of pty stdout.
#[cfg(test)]
mod tests {
use std::io::{Read};
use io::Utf8Chars;
use index::{Line, Column};
use super::{Parser, Handler, Attr, TermInfo};
+1 -2
View File
@@ -292,7 +292,6 @@ mod tests {
use glutin::mods;
use super::Processor;
use super::modifier;
use super::Binding;
/// Receiver that keeps a copy of any strings it is notified with
@@ -319,7 +318,7 @@ mod tests {
fn $name() {
let bindings = &[$binding];
let mut processor = Processor::new();
let processor = Processor::new();
let mut receiver = Receiver::default();
processor.process_bindings(bindings, $mode, &mut receiver, $mods);