mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
Compare commits
3 commits
f7fd886850
...
47a5185d60
Author | SHA1 | Date | |
---|---|---|---|
47a5185d60 | |||
26cf4989a2 | |||
6e60f441e9 |
|
@ -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!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue