From d99e9fa2467ae4d0bd6d91c77af976b0a34fdd49 Mon Sep 17 00:00:00 2001 From: c4llmeco4ch Date: Tue, 7 Jan 2020 15:22:26 -0800 Subject: [PATCH] Added multiple apostrophe test case --- exercises/word-count/canonical-data.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/exercises/word-count/canonical-data.json b/exercises/word-count/canonical-data.json index f991a610ff..5a983df2d9 100644 --- a/exercises/word-count/canonical-data.json +++ b/exercises/word-count/canonical-data.json @@ -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." @@ -171,6 +171,16 @@ "two": 1, "three": 1 } + }, + { + "description": "multiple apostrophes are ignored", + "property": "countWords", + "input": { + "sentence": "''hey''" + }, + "expected": { + "hey": 1 + } } ] }