Skip to content

Commit

Permalink
Fix test (#958)
Browse files Browse the repository at this point in the history
fix(errors1): don't modify tests
  • Loading branch information
stevenfukase committed Apr 14, 2022
1 parent e6c0d00 commit 60bb7cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/error_handling/errors1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ mod tests {
fn generates_nametag_text_for_a_nonempty_name() {
assert_eq!(
generate_nametag_text("Beyoncé".into()),
Some("Hi! My name is Beyoncé".into())
Ok("Hi! My name is Beyoncé".into())
);
}

Expand Down

0 comments on commit 60bb7cc

Please sign in to comment.