g1t

Greets people from the command line. The sample repository for g1t.

A blank name greets nobody #1

Closedsyntaqx opened this bug
Resolved by A blank name greets nobody #5, merged by syntaqx

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.

Pull requests

2 for this issue

Discussion

Sign in to comment.