summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoreth-p <32112321+eth-p@users.noreply.github.com>2018-05-12 14:04:54 -0700
committereth-p <32112321+eth-p@users.noreply.github.com>2018-05-12 14:04:54 -0700
commit9f005d115d8d1fc3de4bb6ef09f0ce79ad142426 (patch)
tree6a2b05a739c415d395903acc361d8b6c06f9a7d7 /tests
parentb4cfc9633c30cbf6d98fcce670caf4bf22dbc4bb (diff)
Update snapshot test files.
Diffstat (limited to 'tests')
-rw-r--r--tests/snapshots/output/changes,grid,header.snapshot.txt50
-rw-r--r--tests/snapshots/output/changes,grid.snapshot.txt44
-rw-r--r--tests/snapshots/output/grid,header,numbers.snapshot.txt50
-rw-r--r--tests/snapshots/output/grid,header.snapshot.txt50
-rw-r--r--tests/snapshots/output/grid,numbers.snapshot.txt44
-rw-r--r--tests/snapshots/output/grid.snapshot.txt44
6 files changed, 141 insertions, 141 deletions
diff --git a/tests/snapshots/output/changes,grid,header.snapshot.txt b/tests/snapshots/output/changes,grid,header.snapshot.txt
index cb53d7a8..cf739b4a 100644
--- a/tests/snapshots/output/changes,grid,header.snapshot.txt
+++ b/tests/snapshots/output/changes,grid,header.snapshot.txt
@@ -1,25 +1,25 @@
-───────┬────────────────────────────────────────────────────────────────────────
- │ File: sample.rs
-───────┼────────────────────────────────────────────────────────────────────────
- │ struct Rectangle {
- │ width: u32,
- │ height: u32,
- │ }
- │
- _ │ fn main() {
- │ let rect1 = Rectangle { width: 30, height: 50 };
- │
- │ println!(
- ~ │ "The perimeter of the rectangle is {} pixels.",
- ~ │ perimeter(&rect1)
- │ );
- │ }
- │
- │ fn area(rectangle: &Rectangle) -> u32 {
- │ rectangle.width * rectangle.height
- │ }
- + │
- + │ fn perimeter(rectangle: &Rectangle) -> u32 {
- + │ (rectangle.width + rectangle.height) * 2
- + │ }
-───────┴────────────────────────────────────────────────────────────────────────
+──┬─────────────────────────────────────────────────────────────────────────────
+ │ File: sample.rs
+──┼─────────────────────────────────────────────────────────────────────────────
+ │ struct Rectangle {
+ │ width: u32,
+ │ height: u32,
+ │ }
+ │
+_ │ fn main() {
+ │ let rect1 = Rectangle { width: 30, height: 50 };
+ │
+ │ println!(
+~ │ "The perimeter of the rectangle is {} pixels.",
+~ │ perimeter(&rect1)
+ │ );
+ │ }
+ │
+ │ fn area(rectangle: &Rectangle) -> u32 {
+ │ rectangle.width * rectangle.height
+ │ }
++ │
++ │ fn perimeter(rectangle: &Rectangle) -> u32 {
++ │ (rectangle.width + rectangle.height) * 2
++ │ }
+──┴─────────────────────────────────────────────────────────────────────────────
diff --git a/tests/snapshots/output/changes,grid.snapshot.txt b/tests/snapshots/output/changes,grid.snapshot.txt
index ff7ea09d..8f20a69e 100644
--- a/tests/snapshots/output/changes,grid.snapshot.txt
+++ b/tests/snapshots/output/changes,grid.snapshot.txt
@@ -1,22 +1,22 @@
- │ struct Rectangle {
- │ width: u32,
- │ height: u32,
- │ }
- │
- _ │ fn main() {
- │ let rect1 = Rectangle { width: 30, height: 50 };
- │
- │ println!(
- ~ │ "The perimeter of the rectangle is {} pixels.",
- ~ │ perimeter(&rect1)
- │ );
- │ }
- │
- │ fn area(rectangle: &Rectangle) -> u32 {
- │ rectangle.width * rectangle.height
- │ }
- + │
- + │ fn perimeter(rectangle: &Rectangle) -> u32 {
- + │ (rectangle.width + rectangle.height) * 2
- + │ }
-───────┴────────────────────────────────────────────────────────────────────────
+ │ struct Rectangle {
+ │ width: u32,
+ │ height: u32,
+ │ }
+ │
+_ │ fn main() {
+ │ let rect1 = Rectangle { width: 30, height: 50 };
+ │
+ │ println!(
+~ │ "The perimeter of the rectangle is {} pixels.",
+~ │ perimeter(&rect1)
+ │ );
+ │ }
+ │
+ │ fn area(rectangle: &Rectangle) -> u32 {
+ │ rectangle.width * rectangle.height
+ │ }
++ │
++ │ fn perimeter(rectangle: &Rectangle) -> u32 {
++ │ (rectangle.width + rectangle.height) * 2
++ │ }
+──┴─────────────────────────────────────────────────────────────────────────────
diff --git a/tests/snapshots/output/grid,header,numbers.snapshot.txt b/tests/snapshots/output/grid,header,numbers.snapshot.txt
index e842b5cb..56696b17 100644
--- a/tests/snapshots/output/grid,header,numbers.snapshot.txt
+++ b/tests/snapshots/output/grid,header,numbers.snapshot.txt
@@ -1,25 +1,25 @@
-───────┬────────────────────────────────────────────────────────────────────────
- │ File: sample.rs
-───────┼────────────────────────────────────────────────────────────────────────
- 1 │ struct Rectangle {
- 2 │ width: u32,
- 3 │ height: u32,
- 4 │ }
- 5 │
- 6 │ fn main() {
- 7 │ let rect1 = Rectangle { width: 30, height: 50 };
- 8 │
- 9 │ println!(
- 10 │ "The perimeter of the rectangle is {} pixels.",
- 11 │ perimeter(&rect1)
- 12 │ );
- 13 │ }
- 14 │
- 15 │ fn area(rectangle: &Rectangle) -> u32 {
- 16 │ rectangle.width * rectangle.height
- 17 │ }
- 18 │
- 19 │ fn perimeter(rectangle: &Rectangle) -> u32 {
- 20 │ (rectangle.width + rectangle.height) * 2
- 21 │ }
-───────┴────────────────────────────────────────────────────────────────────────
+─────┬──────────────────────────────────────────────────────────────────────────
+ │ File: sample.rs
+─────┼──────────────────────────────────────────────────────────────────────────
+ 1 │ struct Rectangle {
+ 2 │ width: u32,
+ 3 │ height: u32,
+ 4 │ }
+ 5 │
+ 6 │ fn main() {
+ 7 │ let rect1 = Rectangle { width: 30, height: 50 };
+ 8 │
+ 9 │ println!(
+ 10 │ "The perimeter of the rectangle is {} pixels.",
+ 11 │ perimeter(&rect1)
+ 12 │ );
+ 13 │ }
+ 14 │
+ 15 │ fn area(rectangle: &Rectangle) -> u32 {
+ 16 │ rectangle.width * rectangle.height
+ 17 │ }
+ 18 │
+ 19 │ fn perimeter(rectangle: &Rectangle) -> u32 {
+ 20 │ (rectangle.width + rectangle.height) * 2
+ 21 │ }
+─────┴──────────────────────────────────────────────────────────────────────────
diff --git a/tests/snapshots/output/grid,header.snapshot.txt b/tests/snapshots/output/grid,header.snapshot.txt
index a6fbca2d..781efb81 100644
--- a/tests/snapshots/output/grid,header.snapshot.txt
+++ b/tests/snapshots/output/grid,header.snapshot.txt
@@ -1,25 +1,25 @@
-───────┬────────────────────────────────────────────────────────────────────────
- │ File: sample.rs
-───────┼────────────────────────────────────────────────────────────────────────
- │ struct Rectangle {
- │ width: u32,
- │ height: u32,
- │ }
- │
- │ fn main() {
- │ let rect1 = Rectangle { width: 30, height: 50 };
- │
- │ println!(
- │ "The perimeter of the rectangle is {} pixels.",
- │ perimeter(&rect1)
- │ );
- │ }
- │
- │ fn area(rectangle: &Rectangle) -> u32 {
- │ rectangle.width * rectangle.height
- │ }
- │
- │ fn perimeter(rectangle: &Rectangle) -> u32 {
- │ (rectangle.width + rectangle.height) * 2
- │ }
-───────┴────────────────────────────────────────────────────────────────────────
+────────────────────────────────────────────────────────────────────────────────
+ File: sample.rs
+────────────────────────────────────────────────────────────────────────────────
+struct Rectangle {
+ width: u32,
+ height: u32,
+}
+
+fn main() {
+ let rect1 = Rectangle { width: 30, height: 50 };
+
+ println!(
+ "The perimeter of the rectangle is {} pixels.",
+ perimeter(&rect1)
+ );
+}
+
+fn area(rectangle: &Rectangle) -> u32 {
+ rectangle.width * rectangle.height
+}
+
+fn perimeter(rectangle: &Rectangle) -> u32 {
+ (rectangle.width + rectangle.height) * 2
+}
+────────────────────────────────────────────────────────────────────────────────
diff --git a/tests/snapshots/output/grid,numbers.snapshot.txt b/tests/snapshots/output/grid,numbers.snapshot.txt
index 0186dac3..2a76f8d3 100644
--- a/tests/snapshots/output/grid,numbers.snapshot.txt
+++ b/tests/snapshots/output/grid,numbers.snapshot.txt
@@ -1,22 +1,22 @@
- 1 │ struct Rectangle {
- 2 │ width: u32,
- 3 │ height: u32,
- 4 │ }
- 5 │
- 6 │ fn main() {
- 7 │ let rect1 = Rectangle { width: 30, height: 50 };
- 8 │
- 9 │ println!(
- 10 │ "The perimeter of the rectangle is {} pixels.",
- 11 │ perimeter(&rect1)
- 12 │ );
- 13 │ }
- 14 │
- 15 │ fn area(rectangle: &Rectangle) -> u32 {
- 16 │ rectangle.width * rectangle.height
- 17 │ }
- 18 │
- 19 │ fn perimeter(rectangle: &Rectangle) -> u32 {
- 20 │ (rectangle.width + rectangle.height) * 2
- 21 │ }
-───────┴────────────────────────────────────────────────────────────────────────
+ 1 │ struct Rectangle {
+ 2 │ width: u32,
+ 3 │ height: u32,
+ 4 │ }
+ 5 │
+ 6 │ fn main() {
+ 7 │ let rect1 = Rectangle { width: 30, height: 50 };
+ 8 │
+ 9 │ println!(
+ 10 │ "The perimeter of the rectangle is {} pixels.",
+ 11 │ perimeter(&rect1)
+ 12 │ );
+ 13 │ }
+ 14 │
+ 15 │ fn area(rectangle: &Rectangle) -> u32 {
+ 16 │ rectangle.width * rectangle.height
+ 17 │ }
+ 18 │
+ 19 │ fn perimeter(rectangle: &Rectangle) -> u32 {
+ 20 │ (rectangle.width + rectangle.height) * 2
+ 21 │ }
+─────┴──────────────────────────────────────────────────────────────────────────
diff --git a/tests/snapshots/output/grid.snapshot.txt b/tests/snapshots/output/grid.snapshot.txt
index 2adebd8f..b5bd13c2 100644
--- a/tests/snapshots/output/grid.snapshot.txt
+++ b/tests/snapshots/output/grid.snapshot.txt
@@ -1,22 +1,22 @@
- │ struct Rectangle {
- │ width: u32,
- │ height: u32,
- │ }
- │
- │ fn main() {
- │ let rect1 = Rectangle { width: 30, height: 50 };
- │
- │ println!(
- │ "The perimeter of the rectangle is {} pixels.",
- │ perimeter(&rect1)
- │ );
- │ }
- │
- │ fn area(rectangle: &Rectangle) -> u32 {
- │ rectangle.width * rectangle.height
- │ }
- │
- │ fn perimeter(rectangle: &Rectangle) -> u32 {
- │ (rectangle.width + rectangle.height) * 2
- │ }
-───────┴────────────────────────────────────────────────────────────────────────
+struct Rectangle {
+ width: u32,
+ height: u32,
+}
+
+fn main() {
+ let rect1 = Rectangle { width: 30, height: 50 };
+
+ println!(
+ "The perimeter of the rectangle is {} pixels.",
+ perimeter(&rect1)
+ );
+}
+
+fn area(rectangle: &Rectangle) -> u32 {
+ rectangle.width * rectangle.height
+}
+
+fn perimeter(rectangle: &Rectangle) -> u32 {
+ (rectangle.width + rectangle.height) * 2
+}
+────────────────────────────────────────────────────────────────────────────────