summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarisa <mokou@posteo.de>2019-10-26 00:27:40 +0200
committerGitHub <noreply@github.com>2019-10-26 00:27:40 +0200
commit4c2cf6da755efe02725e05ecc3a303304c10a6da (patch)
tree79c0ceee94f3a4138057d7e1d200789eb9b69419
parent0f3d6d871e43e3eb64099b58ee5e51bfd82cc8ed (diff)
parentead4f7af9e10e53418efdde5c359159347282afd (diff)
fix(option1): Fix arguments passed to assert! macro (#222)
fix(option1): Fix arguments passed to assert! macro
-rw-r--r--exercises/error_handling/option1.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/error_handling/option1.rs b/exercises/error_handling/option1.rs
index d96a871..c5a4a64 100644
--- a/exercises/error_handling/option1.rs
+++ b/exercises/error_handling/option1.rs
@@ -24,7 +24,7 @@ mod tests {
#[test]
fn should_not_panic() {
- assert!(pop_too_much(), true);
+ assert!(pop_too_much());
}
}