]> git.lizzy.rs Git - rust.git/commitdiff
Fix touchy test to work with old and new error format
authorJonathan Turner <jturner@mozilla.com>
Wed, 22 Jun 2016 22:56:09 +0000 (18:56 -0400)
committerJonathan Turner <jturner@mozilla.com>
Thu, 23 Jun 2016 12:07:35 +0000 (08:07 -0400)
src/test/compile-fail/bad-format-args.rs

index 5ac1a6a0373a1dfac5ba25de01c0e026349c814c..8c58c8c60627d76132eb2f0338a0105040904650 100644 (file)
@@ -9,11 +9,11 @@
 // except according to those terms.
 
 // error-pattern: requires at least a format string argument
-// error-pattern: bad-format-args.rs:19:5: 19:15: note: in this expansion
+// error-pattern: in this expansion
 
 // error-pattern: expected token: `,`
-// error-pattern: bad-format-args.rs:20:5: 20:19: note: in this expansion
-// error-pattern: bad-format-args.rs:21:5: 21:22: note: in this expansion
+// error-pattern: in this expansion
+// error-pattern: in this expansion
 
 fn main() {
     format!();