Skip to content

Bob: Add fifth rule #1025

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 4, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions exercises/bob/canonical-data.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"exercise": "bob",
"version": "1.0.0",
"version": "1.1.0",
"cases": [
{
"description": "stating something",
Expand Down Expand Up @@ -54,7 +54,7 @@
"description": "forceful question",
"property": "response",
"input": "WHAT THE HELL WERE YOU THINKING?",
"expected": "Whoa, chill out!"
"expected": "Calm down, I know what I'm doing!"
},
{
"description": "shouting numbers",
Expand Down
2 changes: 2 additions & 0 deletions exercises/bob/description.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Bob answers 'Sure.' if you ask him a question.

He answers 'Whoa, chill out!' if you yell at him.

He answers 'Calm down, I know what I'm doing!' if you yell a question at him.

He says 'Fine. Be that way!' if you address him without actually saying
anything.

Expand Down