diff options
| author | Johannes Oertel <johannes.oertel@uni-due.de> | 2015-04-24 17:30:41 +0200 |
|---|---|---|
| committer | Johannes Oertel <johannes.oertel@uni-due.de> | 2015-04-24 23:06:41 +0200 |
| commit | 07cc7d9960a1bc767dc051b9fae0c7ad2b5cd97f (patch) | |
| tree | f600607447973dbc1af596efff62d8bd873bbe45 /src/librustc_data_structures/graph | |
| parent | 2214860d4a979fe24d935277a74bd4d67e9bdb9f (diff) | |
| download | rust-07cc7d9960a1bc767dc051b9fae0c7ad2b5cd97f.tar.gz rust-07cc7d9960a1bc767dc051b9fae0c7ad2b5cd97f.zip | |
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/graph')
| -rw-r--r-- | src/librustc_data_structures/graph/mod.rs | 2 | ||||
| -rw-r--r-- | src/librustc_data_structures/graph/tests.rs (renamed from src/librustc_data_structures/graph/test.rs) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_data_structures/graph/mod.rs b/src/librustc_data_structures/graph/mod.rs index 5741544fe54..17fd0b81536 100644 --- a/src/librustc_data_structures/graph/mod.rs +++ b/src/librustc_data_structures/graph/mod.rs @@ -36,7 +36,7 @@ use std::usize; use snapshot_vec::{SnapshotVec, SnapshotVecDelegate}; #[cfg(test)] -mod test; +mod tests; pub struct Graph<N,E> { nodes: SnapshotVec<Node<N>> , diff --git a/src/librustc_data_structures/graph/test.rs b/src/librustc_data_structures/graph/tests.rs index 33b2edd2e10..33b2edd2e10 100644 --- a/src/librustc_data_structures/graph/test.rs +++ b/src/librustc_data_structures/graph/tests.rs |
