Rocket/core/lib/tests/mount_point.rs

11 lines
188 B
Rust

#[test]
#[should_panic]
fn bad_dynamic_mount() {
rocket::build().mount("<name>", vec![]);
}
#[test]
fn good_static_mount() {
rocket::build().mount("/abcdefghijkl_mno", vec![]);
}