From 07cc7d9960a1bc767dc051b9fae0c7ad2b5cd97f Mon Sep 17 00:00:00 2001 From: Johannes Oertel Date: Fri, 24 Apr 2015 17:30:41 +0200 Subject: Change name of unit test sub-module to "tests". Changes the style guidelines regarding unit tests to recommend using a sub-module named "tests" instead of "test" for unit tests as "test" might clash with imports of libtest. --- src/libcollections/linked_list.rs | 2 +- src/libcollections/vec_deque.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libcollections') diff --git a/src/libcollections/linked_list.rs b/src/libcollections/linked_list.rs index deb1476c23f..c73a6f9b324 100644 --- a/src/libcollections/linked_list.rs +++ b/src/libcollections/linked_list.rs @@ -933,7 +933,7 @@ impl Hash for LinkedList { } #[cfg(test)] -mod test { +mod tests { use std::clone::Clone; use std::iter::{Iterator, IntoIterator}; use std::option::Option::{Some, None, self}; diff --git a/src/libcollections/vec_deque.rs b/src/libcollections/vec_deque.rs index bbe7830b423..61369b30dea 100644 --- a/src/libcollections/vec_deque.rs +++ b/src/libcollections/vec_deque.rs @@ -1772,7 +1772,7 @@ impl fmt::Debug for VecDeque { } #[cfg(test)] -mod test { +mod tests { use core::iter::{Iterator, self}; use core::option::Option::Some; -- cgit 1.4.1-3-g733a5