Skip to content

Commit 248dd44

Browse files
committed
Add comment to options1
1 parent dec6772 commit 248dd44

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

exercises/12_options/options1.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ mod tests {
1919
// TODO: Fix this test. How do you get the value contained in the
2020
// Option?
2121
let icecreams = maybe_icecream(12);
22-
assert_eq!(icecreams, 5);
22+
23+
assert_eq!(icecreams, 5); // Don't change this line.
2324
}
2425

2526
#[test]

solutions/12_options/options1.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ mod tests {
2222
fn raw_value() {
2323
// Using `unwrap` is fine in a test.
2424
let icecreams = maybe_icecream(12).unwrap();
25+
2526
assert_eq!(icecreams, 5);
2627
}
2728

0 commit comments

Comments
 (0)