From 6b6603df9dae5610325eacaf0b6831d1f2122d41 Mon Sep 17 00:00:00 2001 From: Tammo Behrends Date: Thu, 16 Mar 2017 09:31:44 +0100 Subject: [PATCH] word-count: Simplify by removing quotation aspect In #403 the exercise was extended with a completely new aspect (*the removal of single quotations but not apostrophes*) which is not mentioned in it's minimalistic description. This removes the two related test cases to simplify this exercise. --- exercises/word-count/canonical-data.json | 27 +----------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/exercises/word-count/canonical-data.json b/exercises/word-count/canonical-data.json index 0c291a380f..4d79781432 100644 --- a/exercises/word-count/canonical-data.json +++ b/exercises/word-count/canonical-data.json @@ -1,6 +1,6 @@ { "exercise": "word-count", - "version": "1.0.0", + "version": "1.1.0", "comments": [ "For each word in the input, count the number of times it appears in the", "entire sentence." @@ -86,31 +86,6 @@ "go": 3, "stop": 2 } - }, - { - "description": "with apostrophes", - "property": "countwords", - "input": "First: don't laugh. Then: don't cry.", - "expected": { - "first": 1, - "don't": 2, - "laugh": 1, - "then": 1, - "cry": 1 - } - }, - { - "description": "with quotations", - "property": "countwords", - "input": "Joe can't tell between 'large' and large.", - "expected": { - "joe": 1, - "can't": 1, - "tell": 1, - "between": 1, - "large": 2, - "and": 1 - } } ] }