Skip to content

Commit ef25a61

Browse files
authored
Word count: test with quotations for word with apostrophe (#2042)
1 parent ba162a5 commit ef25a61

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

exercises/word-count/canonical-data.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,18 @@
203203
"two": 1,
204204
"three": 1
205205
}
206+
},
207+
{
208+
"uuid": "6d00f1db-901c-4bec-9829-d20eb3044557",
209+
"description": "quotation for word with apostrophe",
210+
"property": "countWords",
211+
"input": {
212+
"sentence": "can, can't, 'can't'"
213+
},
214+
"expected": {
215+
"can": 1,
216+
"can't": 2
217+
}
206218
}
207219
]
208220
}

0 commit comments

Comments
 (0)