1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-15 00:04:58 +02:00
fix(errors1): don't modify tests
This commit is contained in:
stevenfukase
2022-04-14 17:25:44 +09:00
committed by GitHub
parent e6c0d00637
commit 60bb7cc393

View File

@ -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())
);
}