mirror of https://github.com/rwf2/Rocket.git
Fix test for new error message.
This commit is contained in:
parent
7544af6e6d
commit
85c06fde04
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
extern crate rocket;
|
extern crate rocket;
|
||||||
|
|
||||||
#[route(FIX, "hello")] //~ ERROR FIX is not a valid HTTP method
|
#[route(FIX, "hello")] //~ ERROR is not a valid HTTP method
|
||||||
//~^ ERROR valid HTTP method
|
//~^ ERROR valid HTTP method
|
||||||
fn get() -> &'static str { "hi" }
|
fn get() -> &'static str { "hi" }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue