2016-12-17 18:51:44 +00:00
|
|
|
#[test]
|
|
|
|
#[should_panic]
|
|
|
|
fn bad_dynamic_mount() {
|
|
|
|
rocket::ignite().mount("<name>", vec![]);
|
|
|
|
}
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn good_static_mount() {
|
2017-09-11 08:14:44 +00:00
|
|
|
rocket::ignite().mount("/abcdefghijkl_mno", vec![]);
|
2016-12-17 18:51:44 +00:00
|
|
|
}
|