Fix test for latest nightly.

This commit is contained in:
Sergio Benitez 2016-09-28 19:38:11 -07:00
parent 6fe2f51332
commit 6498c26473
1 changed files with 6 additions and 6 deletions

View File

@ -5,21 +5,21 @@
fn get() -> &'static str { "hi" }
#[get("/<name><")] //~ ERROR malformed
fn get(name: &str) -> &'static str { "hi" }
fn get1(name: &str) -> &'static str { "hi" }
#[get("/<<<<name><")] //~ ERROR identifiers
fn get(name: &str) -> &'static str { "hi" }
fn get2(name: &str) -> &'static str { "hi" }
#[get("/<!>")] //~ ERROR identifiers
fn get() -> &'static str { "hi" }
fn get3() -> &'static str { "hi" }
#[get("/<_>")] //~ ERROR ignored
fn get() -> &'static str { "hi" }
fn get4() -> &'static str { "hi" }
#[get("/<1>")] //~ ERROR identifiers
fn get() -> &'static str { "hi" }
fn get5() -> &'static str { "hi" }
#[get("/<>name><")] //~ ERROR cannot be empty
fn get() -> &'static str { "hi" }
fn get6() -> &'static str { "hi" }
fn main() { }