about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-06-16 12:15:01 +0000
committerbors <bors@rust-lang.org>2019-06-16 12:15:01 +0000
commit37b6a5e5e82497caf5353d9d856e4eb5d14cbe06 (patch)
tree43900cf663f0ff2650f744315f37394e4c4c9f03 /src/liballoc
parent68655029d49d20cadcff849d14b362b6778ce86a (diff)
parent5a9643c95be10fb99c218286883f82640db72610 (diff)
Auto merge of #61739 - chansuke:separate-unit-tests, r=petrochenkov
Separate unit tests

I'm working on #61097.

About half of the modules are done but dozens of modules are still remaining. I will rebase and squash the commits later.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/lib.rs2
-rw-r--r--src/liballoc/tests.rs (renamed from src/liballoc/boxed_test.rs)0
2 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index c530ac24275..5fc58c8ab5a 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -141,7 +141,7 @@ mod boxed {
     pub use std::boxed::Box;
 }
 #[cfg(test)]
-mod boxed_test;
+mod tests;
 pub mod collections;
 #[cfg(all(target_has_atomic = "ptr", target_has_atomic = "cas"))]
 pub mod sync;
diff --git a/src/liballoc/boxed_test.rs b/src/liballoc/tests.rs
index 654eabd0703..654eabd0703 100644
--- a/src/liballoc/boxed_test.rs
+++ b/src/liballoc/tests.rs