diff options
| author | Jonathan Turner <jturner@mozilla.com> | 2016-06-22 18:56:09 -0400 |
|---|---|---|
| committer | Jonathan Turner <jturner@mozilla.com> | 2016-06-23 08:07:35 -0400 |
| commit | bad4869d28594da7daa1e9a3b7dffc958e1ecb2d (patch) | |
| tree | 2d175c76f26eb051b8003513e97c8545ad953fa5 /src | |
| parent | f2fe204dcce8f6509e51b3c518fc02d7e0e25e92 (diff) | |
| download | rust-bad4869d28594da7daa1e9a3b7dffc958e1ecb2d.tar.gz rust-bad4869d28594da7daa1e9a3b7dffc958e1ecb2d.zip | |
Fix touchy test to work with old and new error format
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/compile-fail/bad-format-args.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/compile-fail/bad-format-args.rs b/src/test/compile-fail/bad-format-args.rs index 5ac1a6a0373..8c58c8c6062 100644 --- a/src/test/compile-fail/bad-format-args.rs +++ b/src/test/compile-fail/bad-format-args.rs @@ -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!(); |
