run rustfmt on test/run-fail folder
This commit is contained in:
parent
97e3a2401e
commit
73ef372f63
54 changed files with 278 additions and 107 deletions
|
@ -13,8 +13,9 @@
|
|||
use std::thread;
|
||||
|
||||
fn main() {
|
||||
let r: Result<(),_> = thread::spawn(move|| {
|
||||
panic!("test");
|
||||
}).join();
|
||||
let r: Result<(), _> = thread::spawn(move || {
|
||||
panic!("test");
|
||||
})
|
||||
.join();
|
||||
assert!(r.is_ok());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue