Auto merge of #24783 - jooert:unittestguidelines, r=alexcrichton

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 (see #23870, #24030 and http://users.rust-lang.org/t/guidelines-naming-of-unit-test-module/1078 for previous discussions).

r? @alexcrichton
This commit is contained in:
bors 2015-04-25 09:55:06 +00:00
commit e3d00a4980
48 changed files with 59 additions and 59 deletions

View file

@ -11,7 +11,7 @@
// compile-flags:--test
// ignore-pretty turns out the pretty-printer doesn't handle gensym'd things...
mod test {
mod tests {
use super::*;
#[test]