Skip to content

Commit

Permalink
Acronym: New test case for apostrophe (#1377)
Browse files Browse the repository at this point in the history
* add Halley's Comet test
  • Loading branch information
alanvardy authored and rpottsoh committed Nov 5, 2018
1 parent ad64a3c commit 2e46654
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion exercises/acronym/canonical-data.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"exercise": "acronym",
"version": "1.5.0",
"version": "1.6.0",
"cases": [
{
"description": "Abbreviate a phrase",
Expand Down Expand Up @@ -60,6 +60,14 @@
"phrase": "Something - I made up from thin air"
},
"expected": "SIMUFTA"
},
{
"description": "apostrophes",
"property": "abbreviate",
"input": {
"phrase": "Halley's Comet"
},
"expected": "HC"
}
]
}
Expand Down

0 comments on commit 2e46654

Please sign in to comment.