Skip to content
Closed
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
12 changes: 11 additions & 1 deletion exercises/word-count/canonical-data.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"exercise": "word-count",
"version": "1.4.0",
"version": "1.5.0",
"comments": [
"For each word in the input, count the number of times it appears in the",
"entire sentence."
Expand Down Expand Up @@ -171,6 +171,16 @@
"two": 1,
"three": 1
}
},
{
"description": "multiple apostrophes are ignored",
"property": "countWords",
"input": {
"sentence": "''hey''"
},
"expected": {
"hey": 1
}
}
]
}