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.
This commit is contained in:
Johannes Oertel
2015-04-24 17:30:41 +02:00
parent 2214860d4a
commit 07cc7d9960
48 changed files with 59 additions and 59 deletions

View File

@@ -1343,7 +1343,7 @@ pub fn noop_fold_stmt<T: Folder>(Spanned {node, span}: Stmt, folder: &mut T)
}
#[cfg(test)]
mod test {
mod tests {
use std::io;
use ast;
use util::parser_testing::{string_to_crate, matches_codepattern};