fix options1 assert with option

This commit is contained in:
Tobias Krischer 2022-08-18 22:58:33 +02:00
parent 96098d228a
commit bebdf3f258
No known key found for this signature in database
GPG Key ID: E9D8FDB171E04060

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, Some(5));
} }
} }