From 871a22eaf4b8fce71fb616ca909a0f2b46802716 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Tue, 28 Jan 2020 12:32:35 +0000 Subject: Fix inconsistent test module naming --- alacritty_terminal/src/grid/storage.rs | 2 +- alacritty_terminal/src/message_bar.rs | 2 +- alacritty_terminal/src/selection.rs | 2 +- alacritty_terminal/src/tty/windows/child.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'alacritty_terminal/src') diff --git a/alacritty_terminal/src/grid/storage.rs b/alacritty_terminal/src/grid/storage.rs index 145e302b..8a5c93cb 100644 --- a/alacritty_terminal/src/grid/storage.rs +++ b/alacritty_terminal/src/grid/storage.rs @@ -288,7 +288,7 @@ impl IndexMut for Storage { } #[cfg(test)] -mod test { +mod tests { use crate::grid::row::Row; use crate::grid::storage::{Storage, MAX_CACHE_SIZE}; use crate::grid::GridCell; diff --git a/alacritty_terminal/src/message_bar.rs b/alacritty_terminal/src/message_bar.rs index 1382684d..67de52b1 100644 --- a/alacritty_terminal/src/message_bar.rs +++ b/alacritty_terminal/src/message_bar.rs @@ -173,7 +173,7 @@ impl MessageBuffer { } #[cfg(test)] -mod test { +mod tests { use super::{Message, MessageBuffer, MIN_FREE_LINES}; use crate::term::{color, SizeInfo}; diff --git a/alacritty_terminal/src/selection.rs b/alacritty_terminal/src/selection.rs index 92335e13..f2c98a55 100644 --- a/alacritty_terminal/src/selection.rs +++ b/alacritty_terminal/src/selection.rs @@ -442,7 +442,7 @@ impl Selection { /// and [EX] (at the start), or [BE] for a single cell. Partially selected cells /// look like [ B] and [E ]. #[cfg(test)] -mod test { +mod tests { use std::mem; use super::{Selection, SelectionRange}; diff --git a/alacritty_terminal/src/tty/windows/child.rs b/alacritty_terminal/src/tty/windows/child.rs index 447b7fbf..69bff75c 100644 --- a/alacritty_terminal/src/tty/windows/child.rs +++ b/alacritty_terminal/src/tty/windows/child.rs @@ -76,7 +76,7 @@ impl Drop for ChildExitWatcher { } #[cfg(test)] -mod test { +mod tests { use std::os::windows::io::AsRawHandle; use std::process::Command; use std::time::Duration; -- cgit