Fix argument comment in test of if2.rs

This commit is contained in:
Joel Marcey 2024-12-13 10:44:21 -08:00 committed by GitHub
parent d07de879a7
commit 6e60f441e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,7 @@ mod tests {
#[test] #[test]
fn yummy_food() { fn yummy_food() {
// This means that calling `picky_eater` with the argument "food" should return "Yummy!". // This means that calling `picky_eater` with the argument "strawberry" should return "Yummy!".
assert_eq!(picky_eater("strawberry"), "Yummy!"); assert_eq!(picky_eater("strawberry"), "Yummy!");
} }