Skip to content

Commit 60bb7cc

Browse files
authored
Fix test (#958)
fix(errors1): don't modify tests
1 parent e6c0d00 commit 60bb7cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/error_handling/errors1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ mod tests {
2828
fn generates_nametag_text_for_a_nonempty_name() {
2929
assert_eq!(
3030
generate_nametag_text("Beyoncé".into()),
31-
Some("Hi! My name is Beyoncé".into())
31+
Ok("Hi! My name is Beyoncé".into())
3232
);
3333
}
3434

0 commit comments

Comments
 (0)