mirror of
https://github.com/rwf2/Rocket.git
synced 2024-12-26 12:22:36 +00:00
13 lines
212 B
Rust
13 lines
212 B
Rust
extern crate rocket;
|
|
|
|
#[test]
|
|
#[should_panic]
|
|
fn bad_dynamic_mount() {
|
|
rocket::ignite().mount("<name>", vec![]);
|
|
}
|
|
|
|
#[test]
|
|
fn good_static_mount() {
|
|
rocket::ignite().mount("/abcdefghijkl_mno", vec![]);
|
|
}
|