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/libcoretest/num/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcoretest') diff --git a/src/libcoretest/num/mod.rs b/src/libcoretest/num/mod.rs index 85ca547da85..0ea9f8afb4e 100644 --- a/src/libcoretest/num/mod.rs +++ b/src/libcoretest/num/mod.rs @@ -45,7 +45,7 @@ pub fn test_num(ten: T, two: T) where } #[cfg(test)] -mod test { +mod tests { use core::option::Option; use core::option::Option::{Some, None}; use core::num::Float; -- cgit 1.4.1-3-g733a5