mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-04 04:12:31 +01:00
Add line with invalid UTF-8
This commit is contained in:
committed by
David Peter
parent
c826c2a438
commit
d0782ef954
@@ -10,6 +10,7 @@ fn main() {
|
||||
"The perimeter of the rectangle is {} pixels.",
|
||||
perimeter(&rect1)
|
||||
);
|
||||
println!(r#"This line contains invalid utf8: "<22><><EFBFBD><EFBFBD><EFBFBD>"#;
|
||||
}
|
||||
|
||||
fn area(rectangle: &Rectangle) -> u32 {
|
||||
|
Reference in New Issue
Block a user