diff --git a/exercises/12_options/options1.rs b/exercises/12_options/options1.rs index 3cbfecd6..be012be2 100644 --- a/exercises/12_options/options1.rs +++ b/exercises/12_options/options1.rs @@ -32,9 +32,6 @@ mod tests { #[test] fn raw_value() { - // TODO: Fix this test. How do you get at the value contained in the - // Option? - let icecreams = maybe_icecream(12); - assert_eq!(icecreams, 5); + assert_eq!(maybe_icecream(12).unwrap(), 5); } }