Skip to content

Commit

Permalink
fix(errors1): Add a comment to make the purpose more clear (#486)
Browse files Browse the repository at this point in the history
Signed-off-by: zydxhs <[email protected]>
  • Loading branch information
zydxhs authored Feb 4, 2022
1 parent 71a0604 commit cbcde34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exercises/error_handling/errors1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ mod tests {
fn explains_why_generating_nametag_text_fails() {
assert_eq!(
generate_nametag_text("".into()),
// Don't change this line
Err("`name` was empty; it must be nonempty.".into())
);
}
Expand Down

0 comments on commit cbcde34

Please sign in to comment.