Update raw_value test to meet exercise requirements

Based on exercise requirement, raw_value test should assert value against Some(0), not Some(5) when input of function is 12.
This commit is contained in:
Eziz 2023-03-16 17:38:44 +05:00 committed by GitHub
parent 9acefe8b3a
commit 6e3caad19a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,6 @@ mod tests {
fn raw_value() { fn raw_value() {
// TODO: Fix this test. How do you get at the value contained in the Option? // TODO: Fix this test. How do you get at the value contained in the Option?
let icecreams = maybe_icecream(12); let icecreams = maybe_icecream(12);
assert_eq!(icecreams, 5); assert_eq!(icecreams, 0);
} }
} }