mirror of
https://github.com/alacritty/alacritty.git
synced 2026-11-30 17:11:16 +03:00
Fix tests
Errors/warnings fixed.
This commit is contained in:
1 parent
8b4b1f8df1
commit
e3c68fed87
2 files changed
+1
-3
No files matched your search
@@ -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
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user