Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 73ef372

Browse files
committedJun 5, 2016
run rustfmt on test/run-fail folder
1 parent 97e3a24 commit 73ef372

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+278
-107
lines changed
 

‎src/test/run-fail/args-panic.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
#![allow(unknown_features)]
1515
#![feature(box_syntax)]
1616

17-
fn f(_a: isize, _b: isize, _c: Box<isize>) { panic!("moop"); }
17+
fn f(_a: isize, _b: isize, _c: Box<isize>) {
18+
panic!("moop");
19+
}
1820

19-
fn main() { f(1, panic!("meep"), box 42); }
21+
fn main() {
22+
f(1, panic!("meep"), box 42);
23+
}

‎src/test/run-fail/assert-eq-macro-panic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
// error-pattern:assertion failed: `(left == right)` (left: `14`, right: `15`)
1212

1313
fn main() {
14-
assert_eq!(14,15);
14+
assert_eq!(14, 15);
1515
}

0 commit comments

Comments
 (0)
Please sign in to comment.