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:
commit
e3d00a4980
48 changed files with 59 additions and 59 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue