Skip to content

Commit bad4869

Browse files
author
Jonathan Turner
committed
Fix touchy test to work with old and new error format
1 parent f2fe204 commit bad4869

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/compile-fail/bad-format-args.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
// except according to those terms.
1010

1111
// error-pattern: requires at least a format string argument
12-
// error-pattern: bad-format-args.rs:19:5: 19:15: note: in this expansion
12+
// error-pattern: in this expansion
1313

1414
// error-pattern: expected token: `,`
15-
// error-pattern: bad-format-args.rs:20:5: 20:19: note: in this expansion
16-
// error-pattern: bad-format-args.rs:21:5: 21:22: note: in this expansion
15+
// error-pattern: in this expansion
16+
// error-pattern: in this expansion
1717

1818
fn main() {
1919
format!();

0 commit comments

Comments
 (0)