aboutsummaryrefslogtreecommitdiff
path: root/src/test/compile-fail
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-05-04 11:20:47 -0700
committerGraydon Hoare <[email protected]>2011-05-04 11:20:47 -0700
commit456398a403514a13f1df5485b3b13a0719800708 (patch)
tree64c4a60737abc4ff2d1338265e142b6eb9565bb6 /src/test/compile-fail
parentTry to fail nicely, again. (diff)
downloadrust-456398a403514a13f1df5485b3b13a0719800708.tar.xz
rust-456398a403514a13f1df5485b3b13a0719800708.zip
Change two compile-fail patterns to match rustc output.
Diffstat (limited to 'src/test/compile-fail')
-rw-r--r--src/test/compile-fail/bad-alt.rs2
-rw-r--r--src/test/compile-fail/bad-name.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/bad-alt.rs b/src/test/compile-fail/bad-alt.rs
index c91274be..cc25c8d5 100644
--- a/src/test/compile-fail/bad-alt.rs
+++ b/src/test/compile-fail/bad-alt.rs
@@ -1,7 +1,7 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
-// error-pattern: Unexpected token 'x'
+// error-pattern: expecting
fn main() {
let int x = 5;
diff --git a/src/test/compile-fail/bad-name.rs b/src/test/compile-fail/bad-name.rs
index f015ef99..94de7958 100644
--- a/src/test/compile-fail/bad-name.rs
+++ b/src/test/compile-fail/bad-name.rs
@@ -2,7 +2,7 @@
// xfail-stage1
// xfail-stage2
-// error-pattern: malformed name
+// error-pattern: expecting
fn main() {
let x.y[int].z foo;