aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <[email protected]>2011-01-26 12:06:19 -0500
committerRafael Ávila de Espíndola <[email protected]>2011-01-26 12:06:19 -0500
commit70c129f79b42f6020b2342e81bf96a0c701ee9e2 (patch)
tree1bc6f103724c2df51c2938aa82c22b15d40ccad2
parentFix issue 207 by considering everything after the first : in the error-pattern (diff)
downloadrust-70c129f79b42f6020b2342e81bf96a0c701ee9e2.tar.xz
rust-70c129f79b42f6020b2342e81bf96a0c701ee9e2.zip
Fix test now that we look at the full error-pattern. Also enable it for rustc.
-rw-r--r--src/Makefile1
-rw-r--r--src/test/compile-fail/multiline-comment-line-tracking.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 2aa5bbc7..dc1b96b5 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -511,6 +511,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
import4.rs \
import-loop.rs \
import-loop-2.rs \
+ multiline-comment-line-tracking.rs \
while-type-error.rs \
), \
$(wildcard test/*/*.rs test/*/*.rc))
diff --git a/src/test/compile-fail/multiline-comment-line-tracking.rs b/src/test/compile-fail/multiline-comment-line-tracking.rs
index 3f555bfc..a345425f 100644
--- a/src/test/compile-fail/multiline-comment-line-tracking.rs
+++ b/src/test/compile-fail/multiline-comment-line-tracking.rs
@@ -1,5 +1,5 @@
// -*- rust -*-
-// error-pattern:9:2:E
+// error-pattern:9:2
/* 1
* 2