diff options
Diffstat (limited to 'tests')
23 files changed, 33 insertions, 33 deletions
diff --git a/tests/snapshots/output/changes.snapshot.txt b/tests/snapshots/output/changes.snapshot.txt index be701958..73520d6f 100644 --- a/tests/snapshots/output/changes.snapshot.txt +++ b/tests/snapshots/output/changes.snapshot.txt @@ -10,7 +10,7 @@ _ fn main() { ~ "The perimeter of the rectangle is {} pixels.", ~ perimeter(&rect1) ); -+ println!(r#"This line contains invalid utf8: "øˆ€€€"#; ++ println!(r#"This line contains invalid utf8: "�����"#; } fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/changes_grid.snapshot.txt b/tests/snapshots/output/changes_grid.snapshot.txt index fe6f4730..83e75583 100644 --- a/tests/snapshots/output/changes_grid.snapshot.txt +++ b/tests/snapshots/output/changes_grid.snapshot.txt @@ -10,7 +10,7 @@ _ │ fn main() { ~ │ "The perimeter of the rectangle is {} pixels.", ~ │ perimeter(&rect1) │ ); -+ │ println!(r#"This line contains invalid utf8: "øˆ€€€"#; ++ │ println!(r#"This line contains invalid utf8: "�����"#; │ } │ │ fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/changes_grid_header.snapshot.txt b/tests/snapshots/output/changes_grid_header.snapshot.txt index 4f1ed4d8..0a32baa8 100644 --- a/tests/snapshots/output/changes_grid_header.snapshot.txt +++ b/tests/snapshots/output/changes_grid_header.snapshot.txt @@ -13,7 +13,7 @@ _ │ fn main() { ~ │ "The perimeter of the rectangle is {} pixels.", ~ │ perimeter(&rect1) │ ); -+ │ println!(r#"This line contains invalid utf8: "øˆ€€€"#; ++ │ println!(r#"This line contains invalid utf8: "�����"#; │ } │ │ fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/changes_grid_header_numbers.snapshot.txt b/tests/snapshots/output/changes_grid_header_numbers.snapshot.txt index 6c17a73e..221306da 100644 --- a/tests/snapshots/output/changes_grid_header_numbers.snapshot.txt +++ b/tests/snapshots/output/changes_grid_header_numbers.snapshot.txt @@ -13,7 +13,7 @@ 10 ~ │ "The perimeter of the rectangle is {} pixels.", 11 ~ │ perimeter(&rect1) 12 │ ); - 13 + │ println!(r#"This line contains invalid utf8: "øˆ€€€"#; + 13 + │ println!(r#"This line contains invalid utf8: "�����"#; 14 │ } 15 │ 16 │ fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/changes_grid_numbers.snapshot.txt b/tests/snapshots/output/changes_grid_numbers.snapshot.txt index 996dee23..1e1789ee 100644 --- a/tests/snapshots/output/changes_grid_numbers.snapshot.txt +++ b/tests/snapshots/output/changes_grid_numbers.snapshot.txt @@ -10,7 +10,7 @@ 10 ~ │ "The perimeter of the rectangle is {} pixels.", 11 ~ │ perimeter(&rect1) 12 │ ); - 13 + │ println!(r#"This line contains invalid utf8: "øˆ€€€"#; + 13 + │ println!(r#"This line contains invalid utf8: "�����"#; 14 │ } 15 │ 16 │ fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/changes_header.snapshot.txt b/tests/snapshots/output/changes_header.snapshot.txt index 52155151..8d1d1b8a 100644 --- a/tests/snapshots/output/changes_header.snapshot.txt +++ b/tests/snapshots/output/changes_header.snapshot.txt @@ -11,7 +11,7 @@ _ fn main() { ~ "The perimeter of the rectangle is {} pixels.", ~ perimeter(&rect1) ); -+ println!(r#"This line contains invalid utf8: "øˆ€€€"#; ++ println!(r#"This line contains invalid utf8: "�����"#; } fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/changes_header_numbers.snapshot.txt b/tests/snapshots/output/changes_header_numbers.snapshot.txt index 671e9508..ddc32872 100644 --- a/tests/snapshots/output/changes_header_numbers.snapshot.txt +++ b/tests/snapshots/output/changes_header_numbers.snapshot.txt @@ -11,7 +11,7 @@ 10 ~ "The perimeter of the rectangle is {} pixels.", 11 ~ perimeter(&rect1) 12 ); - 13 + println!(r#"This line contains invalid utf8: "øˆ€€€"#; + 13 + println!(r#"This line contains invalid utf8: "�����"#; 14 } 15 16 fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/changes_numbers.snapshot.txt b/tests/snapshots/output/changes_numbers.snapshot.txt index 5637c013..298ee617 100644 --- a/tests/snapshots/output/changes_numbers.snapshot.txt +++ b/tests/snapshots/output/changes_numbers.snapshot.txt @@ -10,7 +10,7 @@ 10 ~ "The perimeter of the rectangle is {} pixels.", 11 ~ perimeter(&rect1) 12 ); - 13 + println!(r#"This line contains invalid utf8: "øˆ€€€"#; + 13 + println!(r#"This line contains invalid utf8: "�����"#; 14 } 15 16 fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/full.snapshot.txt b/tests/snapshots/output/full.snapshot.txt index 6c17a73e..221306da 100644 --- a/tests/snapshots/output/full.snapshot.txt +++ b/tests/snapshots/output/full.snapshot.txt @@ -13,7 +13,7 @@ 10 ~ │ "The perimeter of the rectangle is {} pixels.", 11 ~ │ perimeter(&rect1) 12 │ ); - 13 + │ println!(r#"This line contains invalid utf8: "øˆ€€€"#; + 13 + │ println!(r#"This line contains invalid utf8: "�����"#; 14 │ } 15 │ 16 │ fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/grid.snapshot.txt b/tests/snapshots/output/grid.snapshot.txt index 9c707bd8..45917643 100644 --- a/tests/snapshots/output/grid.snapshot.txt +++ b/tests/snapshots/output/grid.snapshot.txt @@ -10,7 +10,7 @@ fn main() { "The perimeter of the rectangle is {} pixels.", perimeter(&rect1) ); - println!(r#"This line contains invalid utf8: "øˆ€€€"#; + println!(r#"This line contains invalid utf8: "�����"#; } fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/grid_header.snapshot.txt b/tests/snapshots/output/grid_header.snapshot.txt index 912732e5..fa74ec09 100644 --- a/tests/snapshots/output/grid_header.snapshot.txt +++ b/tests/snapshots/output/grid_header.snapshot.txt @@ -13,7 +13,7 @@ fn main() { "The perimeter of the rectangle is {} pixels.", perimeter(&rect1) ); - println!(r#"This line contains invalid utf8: "øˆ€€€"#; + println!(r#"This line contains invalid utf8: "�����"#; } fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/grid_header_numbers.snapshot.txt b/tests/snapshots/output/grid_header_numbers.snapshot.txt index 57fb1023..733b9848 100644 --- a/tests/snapshots/output/grid_header_numbers.snapshot.txt +++ b/tests/snapshots/output/grid_header_numbers.snapshot.txt @@ -13,7 +13,7 @@ 10 │ "The perimeter of the rectangle is {} pixels.", 11 │ perimeter(&rect1) 12 │ ); - 13 │ println!(r#"This line contains invalid utf8: "øˆ€€€"#; + 13 │ println!(r#"This line contains invalid utf8: "�����"#; 14 │ } 15 │ 16 │ fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/grid_numbers.snapshot.txt b/tests/snapshots/output/grid_numbers.snapshot.txt index 93a0d9e9..c7d8fb13 100644 --- a/tests/snapshots/output/grid_numbers.snapshot.txt +++ b/tests/snapshots/output/grid_numbers.snapshot.txt @@ -10,7 +10,7 @@ 10 │ "The perimeter of the rectangle is {} pixels.", 11 │ perimeter(&rect1) 12 │ ); - 13 │ println!(r#"This line contains invalid utf8: "øˆ€€€"#; + 13 │ println!(r#"This line contains invalid utf8: "�����"#; 14 │ } 15 │ 16 │ fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/header.snapshot.txt b/tests/snapshots/output/header.snapshot.txt index ade4e94f..6b9b5701 100644 --- a/tests/snapshots/output/header.snapshot.txt +++ b/tests/snapshots/output/header.snapshot.txt @@ -11,7 +11,7 @@ fn main() { "The perimeter of the rectangle is {} pixels.", perimeter(&rect1) ); - println!(r#"This line contains invalid utf8: "øˆ€€€"#; + println!(r#"This line contains invalid utf8: "�����"#; } fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/header_numbers.snapshot.txt b/tests/snapshots/output/header_numbers.snapshot.txt index 78f5d084..4d445b5f 100644 --- a/tests/snapshots/output/header_numbers.snapshot.txt +++ b/tests/snapshots/output/header_numbers.snapshot.txt @@ -11,7 +11,7 @@ 10 "The perimeter of the rectangle is {} pixels.", 11 perimeter(&rect1) 12 ); - 13 println!(r#"This line contains invalid utf8: "øˆ€€€"#; + 13 println!(r#"This line contains invalid utf8: "�����"#; 14 } 15 16 fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/numbers.snapshot.txt b/tests/snapshots/output/numbers.snapshot.txt index 25d2a3b9..90ca33c5 100644 --- a/tests/snapshots/output/numbers.snapshot.txt +++ b/tests/snapshots/output/numbers.snapshot.txt @@ -10,7 +10,7 @@ 10 "The perimeter of the rectangle is {} pixels.", 11 perimeter(&rect1) 12 ); - 13 println!(r#"This line contains invalid utf8: "øˆ€€€"#; + 13 println!(r#"This line contains invalid utf8: "�����"#; 14 } 15 16 fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/plain.snapshot.txt b/tests/snapshots/output/plain.snapshot.txt index e2ee1dff..30cbdde6 100644 --- a/tests/snapshots/output/plain.snapshot.txt +++ b/tests/snapshots/output/plain.snapshot.txt @@ -10,7 +10,7 @@ fn main() { "The perimeter of the rectangle is {} pixels.", perimeter(&rect1) ); - println!(r#"This line contains invalid utf8: "øˆ€€€"#; + println!(r#"This line contains invalid utf8: "�����"#; } fn area(rectangle: &Rectangle) -> u32 { @@ -23,14 +23,14 @@ fn perimeter(rectangle: &Rectangle) -> u32 { // Tab alignment: /* - Indent - 1 2 3 4 -1 ? -22 ? -333 ? -4444 ? -55555 ? -666666 ? -7777777 ? -88888888 ? + Indent + 1 2 3 4 +1 ? +22 ? +333 ? +4444 ? +55555 ? +666666 ? +7777777 ? +88888888 ? */ diff --git a/tests/snapshots/output/tabs_4.snapshot.txt b/tests/snapshots/output/tabs_4.snapshot.txt index 9e667b0b..87689c7b 100644 --- a/tests/snapshots/output/tabs_4.snapshot.txt +++ b/tests/snapshots/output/tabs_4.snapshot.txt @@ -13,7 +13,7 @@ 10 ~ │ "The perimeter of the rectangle is {} pixels.", 11 ~ │ perimeter(&rect1) 12 │ ); - 13 + │ println!(r#"This line contains invalid utf8: "øˆ€€€"#; + 13 + │ println!(r#"This line contains invalid utf8: "�����"#; 14 │ } 15 │ 16 │ fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/tabs_4_wrapped.snapshot.txt b/tests/snapshots/output/tabs_4_wrapped.snapshot.txt index 9e667b0b..87689c7b 100644 --- a/tests/snapshots/output/tabs_4_wrapped.snapshot.txt +++ b/tests/snapshots/output/tabs_4_wrapped.snapshot.txt @@ -13,7 +13,7 @@ 10 ~ │ "The perimeter of the rectangle is {} pixels.", 11 ~ │ perimeter(&rect1) 12 │ ); - 13 + │ println!(r#"This line contains invalid utf8: "øˆ€€€"#; + 13 + │ println!(r#"This line contains invalid utf8: "�����"#; 14 │ } 15 │ 16 │ fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/tabs_8.snapshot.txt b/tests/snapshots/output/tabs_8.snapshot.txt index 6c17a73e..221306da 100644 --- a/tests/snapshots/output/tabs_8.snapshot.txt +++ b/tests/snapshots/output/tabs_8.snapshot.txt @@ -13,7 +13,7 @@ 10 ~ │ "The perimeter of the rectangle is {} pixels.", 11 ~ │ perimeter(&rect1) 12 │ ); - 13 + │ println!(r#"This line contains invalid utf8: "øˆ€€€"#; + 13 + │ println!(r#"This line contains invalid utf8: "�����"#; 14 │ } 15 │ 16 │ fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/tabs_8_wrapped.snapshot.txt b/tests/snapshots/output/tabs_8_wrapped.snapshot.txt index 6c17a73e..221306da 100644 --- a/tests/snapshots/output/tabs_8_wrapped.snapshot.txt +++ b/tests/snapshots/output/tabs_8_wrapped.snapshot.txt @@ -13,7 +13,7 @@ 10 ~ │ "The perimeter of the rectangle is {} pixels.", 11 ~ │ perimeter(&rect1) 12 │ ); - 13 + │ println!(r#"This line contains invalid utf8: "øˆ€€€"#; + 13 + │ println!(r#"This line contains invalid utf8: "�����"#; 14 │ } 15 │ 16 │ fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/tabs_passthrough.snapshot.txt b/tests/snapshots/output/tabs_passthrough.snapshot.txt index 2b9a1332..3ad018a1 100644 --- a/tests/snapshots/output/tabs_passthrough.snapshot.txt +++ b/tests/snapshots/output/tabs_passthrough.snapshot.txt @@ -13,7 +13,7 @@ 10 ~ │ "The perimeter of the rectangle is {} pixels.", 11 ~ │ perimeter(&rect1) 12 │ ); - 13 + │ println!(r#"This line contains invalid utf8: "øˆ€€€"#; + 13 + │ println!(r#"This line contains invalid utf8: "�����"#; 14 │ } 15 │ 16 │ fn area(rectangle: &Rectangle) -> u32 { diff --git a/tests/snapshots/output/tabs_passthrough_wrapped.snapshot.txt b/tests/snapshots/output/tabs_passthrough_wrapped.snapshot.txt index 2b9a1332..3ad018a1 100644 --- a/tests/snapshots/output/tabs_passthrough_wrapped.snapshot.txt +++ b/tests/snapshots/output/tabs_passthrough_wrapped.snapshot.txt @@ -13,7 +13,7 @@ 10 ~ │ "The perimeter of the rectangle is {} pixels.", 11 ~ │ perimeter(&rect1) 12 │ ); - 13 + │ println!(r#"This line contains invalid utf8: "øˆ€€€"#; + 13 + │ println!(r#"This line contains invalid utf8: "�����"#; 14 │ } 15 │ 16 │ fn area(rectangle: &Rectangle) -> u32 { |