mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
Compare commits
3 commits
e8ec2fddf9
...
a944fc73f4
Author | SHA1 | Date | |
---|---|---|---|
a944fc73f4 | |||
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