From 85c06fde046a798f3a534582db89766bbeb55f96 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Wed, 28 Sep 2016 20:55:13 -0700 Subject: [PATCH] Fix test for new error message. --- codegen/tests/compile-fail/route-bad-method.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codegen/tests/compile-fail/route-bad-method.rs b/codegen/tests/compile-fail/route-bad-method.rs index 00f126aa..00b815c4 100644 --- a/codegen/tests/compile-fail/route-bad-method.rs +++ b/codegen/tests/compile-fail/route-bad-method.rs @@ -3,7 +3,7 @@ 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 fn get() -> &'static str { "hi" }