Fix the error-patterns in 2 cfail tests. Issue #855

This commit is contained in:
Brian Anderson 2011-09-01 17:19:36 -07:00
parent e35c021aa4
commit 913667ba25
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
// error-pattern:^ cannot be applied to type `str`
// error-pattern:^ cannot be applied to type `istr`
fn main() { let x = "a" ^ "b"; }

View File

@ -1,3 +1,3 @@
// error-pattern:applying unary minus to non-numeric type str
// error-pattern:applying unary minus to non-numeric type istr
fn main() { -"foo"; }