cargo fmt

This commit is contained in:
Lawrence Chou 2018-10-19 08:55:50 +08:00 committed by David Peter
parent 76e34b29ec
commit 88fcfd76aa
1 changed files with 28 additions and 14 deletions

View File

@ -105,7 +105,8 @@ fn tabs_numbers() {
.arg("--decorations=always") .arg("--decorations=always")
.assert() .assert()
.success() .success()
.stdout(" 1 1 2 3 4 .stdout(
" 1 1 2 3 4
2 1 ? 2 1 ?
3 22 ? 3 22 ?
4 333 ? 4 333 ?
@ -114,7 +115,8 @@ fn tabs_numbers() {
7 666666 ? 7 666666 ?
8 7777777 ? 8 7777777 ?
9 88888888 ? 9 88888888 ?
"); ",
);
} }
#[test] #[test]
@ -126,7 +128,8 @@ fn tabs_passthrough_wrapped() {
.arg("--decorations=always") .arg("--decorations=always")
.assert() .assert()
.success() .success()
.stdout(" 1 2 3 4 .stdout(
" 1 2 3 4
1 ? 1 ?
22 ? 22 ?
333 ? 333 ?
@ -135,7 +138,8 @@ fn tabs_passthrough_wrapped() {
666666 ? 666666 ?
7777777 ? 7777777 ?
88888888 ? 88888888 ?
"); ",
);
} }
#[test] #[test]
@ -147,7 +151,8 @@ fn tabs_4_wrapped() {
.arg("--decorations=always") .arg("--decorations=always")
.assert() .assert()
.success() .success()
.stdout(" 1 2 3 4 .stdout(
" 1 2 3 4
1 ? 1 ?
22 ? 22 ?
333 ? 333 ?
@ -156,7 +161,8 @@ fn tabs_4_wrapped() {
666666 ? 666666 ?
7777777 ? 7777777 ?
88888888 ? 88888888 ?
"); ",
);
} }
#[test] #[test]
@ -168,7 +174,8 @@ fn tabs_8_wrapped() {
.arg("--decorations=always") .arg("--decorations=always")
.assert() .assert()
.success() .success()
.stdout(" 1 2 3 4 .stdout(
" 1 2 3 4
1 ? 1 ?
22 ? 22 ?
333 ? 333 ?
@ -177,7 +184,8 @@ fn tabs_8_wrapped() {
666666 ? 666666 ?
7777777 ? 7777777 ?
88888888 ? 88888888 ?
"); ",
);
} }
#[test] #[test]
@ -189,7 +197,8 @@ fn tabs_passthrough() {
.arg("--decorations=always") .arg("--decorations=always")
.assert() .assert()
.success() .success()
.stdout(" 1 2 3 4 .stdout(
" 1 2 3 4
1 ? 1 ?
22 ? 22 ?
333 ? 333 ?
@ -198,7 +207,8 @@ fn tabs_passthrough() {
666666 ? 666666 ?
7777777 ? 7777777 ?
88888888 ? 88888888 ?
"); ",
);
} }
#[test] #[test]
@ -210,7 +220,8 @@ fn tabs_4() {
.arg("--decorations=always") .arg("--decorations=always")
.assert() .assert()
.success() .success()
.stdout(" 1 2 3 4 .stdout(
" 1 2 3 4
1 ? 1 ?
22 ? 22 ?
333 ? 333 ?
@ -219,7 +230,8 @@ fn tabs_4() {
666666 ? 666666 ?
7777777 ? 7777777 ?
88888888 ? 88888888 ?
"); ",
);
} }
#[test] #[test]
@ -231,7 +243,8 @@ fn tabs_8() {
.arg("--decorations=always") .arg("--decorations=always")
.assert() .assert()
.success() .success()
.stdout(" 1 2 3 4 .stdout(
" 1 2 3 4
1 ? 1 ?
22 ? 22 ?
333 ? 333 ?
@ -240,7 +253,8 @@ fn tabs_8() {
666666 ? 666666 ?
7777777 ? 7777777 ?
88888888 ? 88888888 ?
"); ",
);
} }
#[test] #[test]