Updated snapshots.
commit7cdcdbb31dbe8442660415626e22358f8ef9591c
authoreth-p <32112321+eth-p@users.noreply.github.com>
dateMon 10 Sep 2018, 19:20 (8 years ago)
parent9159341
tests/snapshots/output/changes.snapshot.txt+15−1
tests/snapshots/output/changes,grid.snapshot.txt → tests/snapshots/output/changes_grid.snapshot.txt+15−1
tests/snapshots/output/changes,grid,header.snapshot.txt → tests/snapshots/output/changes_grid_header.snapshot.txt+15−1
tests/snapshots/output/changes_grid_header_numbers.snapshot.txt+40
tests/snapshots/output/changes,grid,numbers.snapshot.txt → tests/snapshots/output/changes_grid_numbers.snapshot.txt+15−1
tests/snapshots/output/changes,header.snapshot.txt → tests/snapshots/output/changes_header.snapshot.txt+15−1
tests/snapshots/output/changes,header,numbers.snapshot.txt → tests/snapshots/output/changes_header_numbers.snapshot.txt+15−1
tests/snapshots/output/changes,numbers.snapshot.txt → tests/snapshots/output/changes_numbers.snapshot.txt+15−1
tests/snapshots/output/full.snapshot.txt+15−1
tests/snapshots/output/grid.snapshot.txt+14
tests/snapshots/output/grid,header.snapshot.txt → tests/snapshots/output/grid_header.snapshot.txt+14
tests/snapshots/output/grid,header,numbers.snapshot.txt → tests/snapshots/output/grid_header_numbers.snapshot.txt+14
tests/snapshots/output/grid,numbers.snapshot.txt → tests/snapshots/output/grid_numbers.snapshot.txt+14
tests/snapshots/output/header.snapshot.txt+14
tests/snapshots/output/header,numbers.snapshot.txt → tests/snapshots/output/header_numbers.snapshot.txt+14
tests/snapshots/output/numbers.snapshot.txt+14
tests/snapshots/output/plain.snapshot.txt+14
tests/snapshots/output/tabs_4.snapshot.txt+40
tests/snapshots/output/tabs_8.snapshot.txt+40
tests/snapshots/output/changes,grid,header,numbers.snapshot.txt → tests/snapshots/output/tabs_passthrough.snapshot.txt+15−1
tests/snapshots/output/changes.snapshot.txt+15−1
@@ -16,7 +16,21 @@ _ fn main() {
1616 fn area(rectangle: &Rectangle) -> u32 {
1717 rectangle.width * rectangle.height
1818 }
19−+
19+
2020+ fn perimeter(rectangle: &Rectangle) -> u32 {
2121+ (rectangle.width + rectangle.height) * 2
2222+ }
23++
24+ // Tab alignment:
25+ /*
26+ Indent
27+ 1 2 3 4
28+ 1 ?
29+ 22 ?
30+ 333 ?
31+ 4444 ?
32+ 55555 ?
33+ 666666 ?
34+ 7777777 ?
35+ 88888888 ?
36+~ */
tests/snapshots/output/changes,grid.snapshot.txt → tests/snapshots/output/changes_grid.snapshot.txtrenamed+15−1
@@ -16,8 +16,22 @@ _ │ fn main() {
1616 │ fn area(rectangle: &Rectangle) -> u32 {
1717 │ rectangle.width * rectangle.height
1818 │ }
19−+ │
19+ │
2020+ │ fn perimeter(rectangle: &Rectangle) -> u32 {
2121+ │ (rectangle.width + rectangle.height) * 2
2222+ │ }
23++ │
24+ │ // Tab alignment:
25+ │ /*
26+ │ Indent
27+ │ 1 2 3 4
28+ │ 1 ?
29+ │ 22 ?
30+ │ 333 ?
31+ │ 4444 ?
32+ │ 55555 ?
33+ │ 666666 ?
34+ │ 7777777 ?
35+ │ 88888888 ?
36+~ │ */
2337──┴─────────────────────────────────────────────────────────────────────────────
tests/snapshots/output/changes,grid,header.snapshot.txt → tests/snapshots/output/changes_grid_header.snapshot.txtrenamed+15−1
@@ -19,8 +19,22 @@ _ │ fn main() {
1919 │ fn area(rectangle: &Rectangle) -> u32 {
2020 │ rectangle.width * rectangle.height
2121 │ }
22−+ │
22+ │
2323+ │ fn perimeter(rectangle: &Rectangle) -> u32 {
2424+ │ (rectangle.width + rectangle.height) * 2
2525+ │ }
26++ │
27+ │ // Tab alignment:
28+ │ /*
29+ │ Indent
30+ │ 1 2 3 4
31+ │ 1 ?
32+ │ 22 ?
33+ │ 333 ?
34+ │ 4444 ?
35+ │ 55555 ?
36+ │ 666666 ?
37+ │ 7777777 ?
38+ │ 88888888 ?
39+~ │ */
2640──┴─────────────────────────────────────────────────────────────────────────────
tests/snapshots/output/changes_grid_header_numbers.snapshot.txtnew file+40
@@ -0,0 +1,40 @@
1+───────┬────────────────────────────────────────────────────────────────────────
2+ │ File: sample.rs
3+───────┼────────────────────────────────────────────────────────────────────────
4+ 1 │ struct Rectangle {
5+ 2 │ width: u32,
6+ 3 │ height: u32,
7+ 4 │ }
8+ 5 │
9+ 6 _ │ fn main() {
10+ 7 │ let rect1 = Rectangle { width: 30, height: 50 };
11+ 8 │
12+ 9 │ println!(
13+ 10 ~ │ "The perimeter of the rectangle is {} pixels.",
14+ 11 ~ │ perimeter(&rect1)
15+ 12 │ );
16+ 13 + │ println!(r#"This line contains invalid utf8: "�����"#;
17+ 14 │ }
18+ 15 │
19+ 16 │ fn area(rectangle: &Rectangle) -> u32 {
20+ 17 │ rectangle.width * rectangle.height
21+ 18 │ }
22+ 19 │
23+ 20 + │ fn perimeter(rectangle: &Rectangle) -> u32 {
24+ 21 + │ (rectangle.width + rectangle.height) * 2
25+ 22 + │ }
26+ 23 + │
27+ 24 │ // Tab alignment:
28+ 25 │ /*
29+ 26 │ Indent
30+ 27 │ 1 2 3 4
31+ 28 │ 1 ?
32+ 29 │ 22 ?
33+ 30 │ 333 ?
34+ 31 │ 4444 ?
35+ 32 │ 55555 ?
36+ 33 │ 666666 ?
37+ 34 │ 7777777 ?
38+ 35 │ 88888888 ?
39+ 36 ~ │ */
40+───────┴────────────────────────────────────────────────────────────────────────
tests/snapshots/output/changes,grid,numbers.snapshot.txt → tests/snapshots/output/changes_grid_numbers.snapshot.txtrenamed+15−1
@@ -16,8 +16,22 @@
1616 16 │ fn area(rectangle: &Rectangle) -> u32 {
1717 17 │ rectangle.width * rectangle.height
1818 18 │ }
19− 19 + │
19+ 19 │
2020 20 + │ fn perimeter(rectangle: &Rectangle) -> u32 {
2121 21 + │ (rectangle.width + rectangle.height) * 2
2222 22 + │ }
23+ 23 + │
24+ 24 │ // Tab alignment:
25+ 25 │ /*
26+ 26 │ Indent
27+ 27 │ 1 2 3 4
28+ 28 │ 1 ?
29+ 29 │ 22 ?
30+ 30 │ 333 ?
31+ 31 │ 4444 ?
32+ 32 │ 55555 ?
33+ 33 │ 666666 ?
34+ 34 │ 7777777 ?
35+ 35 │ 88888888 ?
36+ 36 ~ │ */
2337───────┴────────────────────────────────────────────────────────────────────────
tests/snapshots/output/changes,header.snapshot.txt → tests/snapshots/output/changes_header.snapshot.txtrenamed+15−1
@@ -17,7 +17,21 @@ _ fn main() {
1717 fn area(rectangle: &Rectangle) -> u32 {
1818 rectangle.width * rectangle.height
1919 }
20−+
20+
2121+ fn perimeter(rectangle: &Rectangle) -> u32 {
2222+ (rectangle.width + rectangle.height) * 2
2323+ }
24++
25+ // Tab alignment:
26+ /*
27+ Indent
28+ 1 2 3 4
29+ 1 ?
30+ 22 ?
31+ 333 ?
32+ 4444 ?
33+ 55555 ?
34+ 666666 ?
35+ 7777777 ?
36+ 88888888 ?
37+~ */
tests/snapshots/output/changes,header,numbers.snapshot.txt → tests/snapshots/output/changes_header_numbers.snapshot.txtrenamed+15−1
@@ -17,7 +17,21 @@
1717 16 fn area(rectangle: &Rectangle) -> u32 {
1818 17 rectangle.width * rectangle.height
1919 18 }
20− 19 +
20+ 19
2121 20 + fn perimeter(rectangle: &Rectangle) -> u32 {
2222 21 + (rectangle.width + rectangle.height) * 2
2323 22 + }
24+ 23 +
25+ 24 // Tab alignment:
26+ 25 /*
27+ 26 Indent
28+ 27 1 2 3 4
29+ 28 1 ?
30+ 29 22 ?
31+ 30 333 ?
32+ 31 4444 ?
33+ 32 55555 ?
34+ 33 666666 ?
35+ 34 7777777 ?
36+ 35 88888888 ?
37+ 36 ~ */
tests/snapshots/output/changes,numbers.snapshot.txt → tests/snapshots/output/changes_numbers.snapshot.txtrenamed+15−1
@@ -16,7 +16,21 @@
1616 16 fn area(rectangle: &Rectangle) -> u32 {
1717 17 rectangle.width * rectangle.height
1818 18 }
19− 19 +
19+ 19
2020 20 + fn perimeter(rectangle: &Rectangle) -> u32 {
2121 21 + (rectangle.width + rectangle.height) * 2
2222 22 + }
23+ 23 +
24+ 24 // Tab alignment:
25+ 25 /*
26+ 26 Indent
27+ 27 1 2 3 4
28+ 28 1 ?
29+ 29 22 ?
30+ 30 333 ?
31+ 31 4444 ?
32+ 32 55555 ?
33+ 33 666666 ?
34+ 34 7777777 ?
35+ 35 88888888 ?
36+ 36 ~ */
tests/snapshots/output/full.snapshot.txt+15−1
@@ -19,8 +19,22 @@
1919 16 │ fn area(rectangle: &Rectangle) -> u32 {
2020 17 │ rectangle.width * rectangle.height
2121 18 │ }
22− 19 + │
22+ 19 │
2323 20 + │ fn perimeter(rectangle: &Rectangle) -> u32 {
2424 21 + │ (rectangle.width + rectangle.height) * 2
2525 22 + │ }
26+ 23 + │
27+ 24 │ // Tab alignment:
28+ 25 │ /*
29+ 26 │ Indent
30+ 27 │ 1 2 3 4
31+ 28 │ 1 ?
32+ 29 │ 22 ?
33+ 30 │ 333 ?
34+ 31 │ 4444 ?
35+ 32 │ 55555 ?
36+ 33 │ 666666 ?
37+ 34 │ 7777777 ?
38+ 35 │ 88888888 ?
39+ 36 ~ │ */
2640───────┴────────────────────────────────────────────────────────────────────────
tests/snapshots/output/grid.snapshot.txt+14
@@ -20,4 +20,18 @@ fn area(rectangle: &Rectangle) -> u32 {
2020fn perimeter(rectangle: &Rectangle) -> u32 {
2121 (rectangle.width + rectangle.height) * 2
2222}
23+
24+// Tab alignment:
25+/*
26+ Indent
27+ 1 2 3 4
28+1 ?
29+22 ?
30+333 ?
31+4444 ?
32+55555 ?
33+666666 ?
34+7777777 ?
35+88888888 ?
36+*/
2337────────────────────────────────────────────────────────────────────────────────
tests/snapshots/output/grid,header.snapshot.txt → tests/snapshots/output/grid_header.snapshot.txtrenamed+14
@@ -23,4 +23,18 @@ fn area(rectangle: &Rectangle) -> u32 {
2323fn perimeter(rectangle: &Rectangle) -> u32 {
2424 (rectangle.width + rectangle.height) * 2
2525}
26+
27+// Tab alignment:
28+/*
29+ Indent
30+ 1 2 3 4
31+1 ?
32+22 ?
33+333 ?
34+4444 ?
35+55555 ?
36+666666 ?
37+7777777 ?
38+88888888 ?
39+*/
2640────────────────────────────────────────────────────────────────────────────────
tests/snapshots/output/grid,header,numbers.snapshot.txt → tests/snapshots/output/grid_header_numbers.snapshot.txtrenamed+14
@@ -23,4 +23,18 @@
2323 20 │ fn perimeter(rectangle: &Rectangle) -> u32 {
2424 21 │ (rectangle.width + rectangle.height) * 2
2525 22 │ }
26+ 23 │
27+ 24 │ // Tab alignment:
28+ 25 │ /*
29+ 26 │ Indent
30+ 27 │ 1 2 3 4
31+ 28 │ 1 ?
32+ 29 │ 22 ?
33+ 30 │ 333 ?
34+ 31 │ 4444 ?
35+ 32 │ 55555 ?
36+ 33 │ 666666 ?
37+ 34 │ 7777777 ?
38+ 35 │ 88888888 ?
39+ 36 │ */
2640─────┴──────────────────────────────────────────────────────────────────────────
tests/snapshots/output/grid,numbers.snapshot.txt → tests/snapshots/output/grid_numbers.snapshot.txtrenamed+14
@@ -20,4 +20,18 @@
2020 20 │ fn perimeter(rectangle: &Rectangle) -> u32 {
2121 21 │ (rectangle.width + rectangle.height) * 2
2222 22 │ }
23+ 23 │
24+ 24 │ // Tab alignment:
25+ 25 │ /*
26+ 26 │ Indent
27+ 27 │ 1 2 3 4
28+ 28 │ 1 ?
29+ 29 │ 22 ?
30+ 30 │ 333 ?
31+ 31 │ 4444 ?
32+ 32 │ 55555 ?
33+ 33 │ 666666 ?
34+ 34 │ 7777777 ?
35+ 35 │ 88888888 ?
36+ 36 │ */
2337─────┴──────────────────────────────────────────────────────────────────────────
tests/snapshots/output/header.snapshot.txt+14
@@ -21,3 +21,17 @@ fn area(rectangle: &Rectangle) -> u32 {
2121fn perimeter(rectangle: &Rectangle) -> u32 {
2222 (rectangle.width + rectangle.height) * 2
2323}
24+
25+// Tab alignment:
26+/*
27+ Indent
28+ 1 2 3 4
29+1 ?
30+22 ?
31+333 ?
32+4444 ?
33+55555 ?
34+666666 ?
35+7777777 ?
36+88888888 ?
37+*/
tests/snapshots/output/header,numbers.snapshot.txt → tests/snapshots/output/header_numbers.snapshot.txtrenamed+14
@@ -21,3 +21,17 @@
2121 20 fn perimeter(rectangle: &Rectangle) -> u32 {
2222 21 (rectangle.width + rectangle.height) * 2
2323 22 }
24+ 23
25+ 24 // Tab alignment:
26+ 25 /*
27+ 26 Indent
28+ 27 1 2 3 4
29+ 28 1 ?
30+ 29 22 ?
31+ 30 333 ?
32+ 31 4444 ?
33+ 32 55555 ?
34+ 33 666666 ?
35+ 34 7777777 ?
36+ 35 88888888 ?
37+ 36 */
tests/snapshots/output/numbers.snapshot.txt+14
@@ -20,3 +20,17 @@
2020 20 fn perimeter(rectangle: &Rectangle) -> u32 {
2121 21 (rectangle.width + rectangle.height) * 2
2222 22 }
23+ 23
24+ 24 // Tab alignment:
25+ 25 /*
26+ 26 Indent
27+ 27 1 2 3 4
28+ 28 1 ?
29+ 29 22 ?
30+ 30 333 ?
31+ 31 4444 ?
32+ 32 55555 ?
33+ 33 666666 ?
34+ 34 7777777 ?
35+ 35 88888888 ?
36+ 36 */
tests/snapshots/output/plain.snapshot.txt+14
@@ -20,3 +20,17 @@ fn area(rectangle: &Rectangle) -> u32 {
2020fn perimeter(rectangle: &Rectangle) -> u32 {
2121 (rectangle.width + rectangle.height) * 2
2222}
23+
24+// Tab alignment:
25+/*
26+ Indent
27+ 1 2 3 4
28+1 ?
29+22 ?
30+333 ?
31+4444 ?
32+55555 ?
33+666666 ?
34+7777777 ?
35+88888888 ?
36+*/
tests/snapshots/output/tabs_4.snapshot.txtnew file+40
@@ -0,0 +1,40 @@
1+───────┬────────────────────────────────────────────────────────────────────────
2+ │ File: sample.rs
3+───────┼────────────────────────────────────────────────────────────────────────
4+ 1 │ struct Rectangle {
5+ 2 │ width: u32,
6+ 3 │ height: u32,
7+ 4 │ }
8+ 5 │
9+ 6 _ │ fn main() {
10+ 7 │ let rect1 = Rectangle { width: 30, height: 50 };
11+ 8 │
12+ 9 │ println!(
13+ 10 ~ │ "The perimeter of the rectangle is {} pixels.",
14+ 11 ~ │ perimeter(&rect1)
15+ 12 │ );
16+ 13 + │ println!(r#"This line contains invalid utf8: "�����"#;
17+ 14 │ }
18+ 15 │
19+ 16 │ fn area(rectangle: &Rectangle) -> u32 {
20+ 17 │ rectangle.width * rectangle.height
21+ 18 │ }
22+ 19 │
23+ 20 + │ fn perimeter(rectangle: &Rectangle) -> u32 {
24+ 21 + │ (rectangle.width + rectangle.height) * 2
25+ 22 + │ }
26+ 23 + │
27+ 24 │ // Tab alignment:
28+ 25 │ /*
29+ 26 │ Indent
30+ 27 │ 1 2 3 4
31+ 28 │ 1 ?
32+ 29 │ 22 ?
33+ 30 │ 333 ?
34+ 31 │ 4444 ?
35+ 32 │ 55555 ?
36+ 33 │ 666666 ?
37+ 34 │ 7777777 ?
38+ 35 │ 88888888 ?
39+ 36 ~ │ */
40+───────┴────────────────────────────────────────────────────────────────────────
tests/snapshots/output/tabs_8.snapshot.txtnew file+40
@@ -0,0 +1,40 @@
1+───────┬────────────────────────────────────────────────────────────────────────
2+ │ File: sample.rs
3+───────┼────────────────────────────────────────────────────────────────────────
4+ 1 │ struct Rectangle {
5+ 2 │ width: u32,
6+ 3 │ height: u32,
7+ 4 │ }
8+ 5 │
9+ 6 _ │ fn main() {
10+ 7 │ let rect1 = Rectangle { width: 30, height: 50 };
11+ 8 │
12+ 9 │ println!(
13+ 10 ~ │ "The perimeter of the rectangle is {} pixels.",
14+ 11 ~ │ perimeter(&rect1)
15+ 12 │ );
16+ 13 + │ println!(r#"This line contains invalid utf8: "�����"#;
17+ 14 │ }
18+ 15 │
19+ 16 │ fn area(rectangle: &Rectangle) -> u32 {
20+ 17 │ rectangle.width * rectangle.height
21+ 18 │ }
22+ 19 │
23+ 20 + │ fn perimeter(rectangle: &Rectangle) -> u32 {
24+ 21 + │ (rectangle.width + rectangle.height) * 2
25+ 22 + │ }
26+ 23 + │
27+ 24 │ // Tab alignment:
28+ 25 │ /*
29+ 26 │ Indent
30+ 27 │ 1 2 3 4
31+ 28 │ 1 ?
32+ 29 │ 22 ?
33+ 30 │ 333 ?
34+ 31 │ 4444 ?
35+ 32 │ 55555 ?
36+ 33 │ 666666 ?
37+ 34 │ 7777777 ?
38+ 35 │ 88888888 ?
39+ 36 ~ │ */
40+───────┴────────────────────────────────────────────────────────────────────────
tests/snapshots/output/changes,grid,header,numbers.snapshot.txt → tests/snapshots/output/tabs_passthrough.snapshot.txtrenamed+15−1
@@ -19,8 +19,22 @@
1919 16 │ fn area(rectangle: &Rectangle) -> u32 {
2020 17 │ rectangle.width * rectangle.height
2121 18 │ }
22− 19 + │
22+ 19 │
2323 20 + │ fn perimeter(rectangle: &Rectangle) -> u32 {
2424 21 + │ (rectangle.width + rectangle.height) * 2
2525 22 + │ }
26+ 23 + │
27+ 24 │ // Tab alignment:
28+ 25 │ /*
29+ 26 │ Indent
30+ 27 │ 1 2 3 4
31+ 28 │ 1 ?
32+ 29 │ 22 ?
33+ 30 │ 333 ?
34+ 31 │ 4444 ?
35+ 32 │ 55555 ?
36+ 33 │ 666666 ?
37+ 34 │ 7777777 ?
38+ 35 │ 88888888 ?
39+ 36 ~ │ */
2640───────┴────────────────────────────────────────────────────────────────────────