Skip to content

Commit

Permalink
fix(option1): Fix arguments passed to assert! macro (rust-lang#222)
Browse files Browse the repository at this point in the history
fix(option1): Fix arguments passed to assert! macro
  • Loading branch information
marisa authored Oct 25, 2019
2 parents f4b9527 + 8966f5f commit 8677343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/error_handling/option1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ mod tests {

#[test]
fn should_not_panic() {
assert!(pop_too_much(), true);
assert!(pop_too_much());
}
}

Expand Down

0 comments on commit 8677343

Please sign in to comment.