mirror of
https://github.com/rwf2/Rocket.git
synced 2024-12-31 23:02:37 +00:00
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;
|
|
}
|