Skip to content

Commit

Permalink
Fix touchy test to work with old and new error format
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Turner committed Jun 23, 2016
1 parent f2fe204 commit bad4869
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/compile-fail/bad-format-args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!();
Expand Down

0 comments on commit bad4869

Please sign in to comment.