mirror of https://github.com/rwf2/Rocket.git
8 lines
150 B
Rust
8 lines
150 B
Rust
|
struct A;
|
||
|
|
||
|
#[rocket::async_test]
|
||
|
#[should_panic]
|
||
|
async fn twice_managed_state() {
|
||
|
let _ = rocket::ignite().manage(A).manage(A).inspect().await;
|
||
|
}
|