From bebdf3f25801dceb2a50069c363aa35df437c6e3 Mon Sep 17 00:00:00 2001 From: Tobias Krischer Date: Thu, 18 Aug 2022 22:58:33 +0200 Subject: [PATCH] fix options1 assert with option --- exercises/options/options1.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/options/options1.rs b/exercises/options/options1.rs index d1735c2f..e0e2611c 100644 --- a/exercises/options/options1.rs +++ b/exercises/options/options1.rs @@ -30,6 +30,6 @@ mod tests { 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!(icecreams, Some(5)); } }