diff options
| author | stevenfukase <fukasesteven@gmail.com> | 2022-04-14 17:25:44 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-14 10:25:44 +0200 |
| commit | 60bb7cc3931d21d3986ad52b2b302e632a93831c (patch) | |
| tree | 0b06470bb219fdf3c8712299d6b14cd57478a4b3 /exercises/error_handling | |
| parent | e6c0d00637b79a939f3888df6cf401143f82f3a1 (diff) | |
Fix test (#958)
fix(errors1): don't modify tests
Diffstat (limited to 'exercises/error_handling')
| -rw-r--r-- | exercises/error_handling/errors1.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/error_handling/errors1.rs b/exercises/error_handling/errors1.rs index 5844a49..243622c 100644 --- a/exercises/error_handling/errors1.rs +++ b/exercises/error_handling/errors1.rs @@ -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()) ); } |
