From eebe8267c9f02f47107ffec017146cd2edab1a70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20J=2E=20Zar=C3=A1ndi?= <155544335+davidzarandi@users.noreply.github.com> Date: Mon, 1 Jul 2024 22:25:53 +0200 Subject: [PATCH] fix: raw_value test options1.rs --- exercises/12_options/options1.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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); } }