Skip to content

A blank name greets nobody #58

Closedsyntaqx opened this bug

hello "" prints Hello, !, and hello " " prints Hello, !.

A name that is empty or only whitespace should be treated as no name at all and greet world. Surrounding whitespace on a real name should be trimmed.

Add tests for both.

Definition of done

  • cargo test passes.

Repositories

No repository yet

Filed in the workspace itself. Link the repositories it should land in, and it closes once each of them has.

Discussion

Sign in to comment.