Skip to content

Commit 1864452

Browse files
author
yourname
committed
fix(quiz3): Force an answer to Q2 (rust-lang#672)
Add also an example of unimplemented!() macro.
1 parent 156e5fa commit 1864452

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

exercises/quiz3.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ mod tests {
2424

2525
#[test]
2626
fn returns_twice_of_negative_numbers() {
27-
// TODO write an assert for `times_two(-4)`
27+
// TODO replace unimplemented!() with an assert for `times_two(-4)`
28+
unimplemented!()
2829
}
2930
}

0 commit comments

Comments
 (0)