diff --git a/codegen/tests/compile-fail/unknown-media-type.rs b/codegen/tests/compile-fail/unknown-media-type.rs index 32426dc4..d2e417bb 100644 --- a/codegen/tests/compile-fail/unknown-media-type.rs +++ b/codegen/tests/compile-fail/unknown-media-type.rs @@ -1,3 +1,5 @@ +// must-compile-successfully + #![feature(plugin)] #![plugin(rocket_codegen)] @@ -12,7 +14,4 @@ fn two() -> &'static str { "hi" } #[get("/", format = "x-custom/x-custom")] //~ WARNING not a known media type fn three() -> &'static str { "hi" } -// Make the test fail here so we can actually check for the warnings above. -assert!(false); - fn main() { }