about summary refs log tree commit diff
path: root/src/librustc_data_structures/unify
diff options
context:
space:
mode:
authorJohannes Oertel <johannes.oertel@uni-due.de>2015-04-24 17:30:41 +0200
committerJohannes Oertel <johannes.oertel@uni-due.de>2015-04-24 23:06:41 +0200
commit07cc7d9960a1bc767dc051b9fae0c7ad2b5cd97f (patch)
treef600607447973dbc1af596efff62d8bd873bbe45 /src/librustc_data_structures/unify
parent2214860d4a979fe24d935277a74bd4d67e9bdb9f (diff)
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.
Diffstat (limited to 'src/librustc_data_structures/unify')
-rw-r--r--src/librustc_data_structures/unify/mod.rs2
-rw-r--r--src/librustc_data_structures/unify/tests.rs (renamed from src/librustc_data_structures/unify/test.rs)0
2 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_data_structures/unify/mod.rs b/src/librustc_data_structures/unify/mod.rs
index 7036c010c65..a899bbacc03 100644
--- a/src/librustc_data_structures/unify/mod.rs
+++ b/src/librustc_data_structures/unify/mod.rs
@@ -14,7 +14,7 @@ use std::marker::PhantomData;
 use snapshot_vec as sv;
 
 #[cfg(test)]
-mod test;
+mod tests;
 
 /// This trait is implemented by any type that can serve as a type
 /// variable. We call such variables *unification keys*. For example,
diff --git a/src/librustc_data_structures/unify/test.rs b/src/librustc_data_structures/unify/tests.rs
index dbe3cfc7a48..dbe3cfc7a48 100644
--- a/src/librustc_data_structures/unify/test.rs
+++ b/src/librustc_data_structures/unify/tests.rs