Add missing semicolons

This commit is contained in:
mo8it
2024-05-22 15:13:18 +02:00
parent c8ad6c3960
commit 7cdf6b7942
5 changed files with 11 additions and 11 deletions
+4 -4
View File
@@ -34,21 +34,21 @@ mod tests {
#[test]
fn gopher_lives_in_burrow() {
assert_eq!(animal_habitat("gopher"), "Burrow")
assert_eq!(animal_habitat("gopher"), "Burrow");
}
#[test]
fn snake_lives_in_desert() {
assert_eq!(animal_habitat("snake"), "Desert")
assert_eq!(animal_habitat("snake"), "Desert");
}
#[test]
fn crab_lives_on_beach() {
assert_eq!(animal_habitat("crab"), "Beach")
assert_eq!(animal_habitat("crab"), "Beach");
}
#[test]
fn unknown_animal() {
assert_eq!(animal_habitat("dinosaur"), "Unknown")
assert_eq!(animal_habitat("dinosaur"), "Unknown");
}
}