Skip to content

Commit c343f6d

Browse files
authored
Merge pull request #288 from mgeisler/rustfmt
Run files through rustfmt to fix formatting
2 parents 27ac6bb + 9f3ce44 commit c343f6d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/lib.rs

+7-5
Original file line numberDiff line numberDiff line change
@@ -1679,17 +1679,19 @@ mod tests {
16791679
);
16801680
}
16811681

1682-
16831682
#[test]
16841683
fn wrap_columns_big_gaps() {
16851684
// The column width shrinks to 1 because the gaps take up all
16861685
// the space.
1687-
assert_eq!(wrap_columns("xyz", 2, 10, "----> ", " !!! ", " <----"),
1688-
vec!["----> x !!! z <----",
1689-
"----> y !!! <----"]);
1686+
assert_eq!(
1687+
wrap_columns("xyz", 2, 10, "----> ", " !!! ", " <----"),
1688+
vec![
1689+
"----> x !!! z <----", //
1690+
"----> y !!! <----"
1691+
]
1692+
);
16901693
}
16911694

1692-
16931695
#[test]
16941696
#[should_panic]
16951697
fn wrap_columns_panic_with_zero_columns() {

0 commit comments

Comments
 (0)