Move util crate unit tests into a new unit_tests crate

This commit is contained in:
Simon Sapin 2015-04-07 16:58:02 +02:00 committed by Josh Matthews
parent 3fb666cf60
commit 6d5406efc1
13 changed files with 222 additions and 183 deletions

9
tests/unit/util/task.rs Normal file
View file

@ -0,0 +1,9 @@
use std::borrow::ToOwned;
use util::task::spawn_named;
#[test]
fn spawn_named_test() {
spawn_named("Test".to_owned(), move || {
println!("I can run!");
});
}