mirror of
https://github.com/sharkdp/bat.git
synced 2025-10-30 14:43:57 +00:00
Add snapshot testing
This commit is contained in:
committed by
David Peter
parent
53eb9c57d6
commit
0886a24685
@@ -18,4 +18,4 @@ fn area(rectangle: &Rectangle) -> u32 {
|
||||
|
||||
fn perimeter(rectangle: &Rectangle) -> u32 {
|
||||
(rectangle.width + rectangle.height) * 2
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user