Skip to content

Commit

Permalink
anagram 1.4.1: grammar ("a anagram" -> "an anagram")
Browse files Browse the repository at this point in the history
  • Loading branch information
bencoman authored and petertseng committed Sep 1, 2019
1 parent 0fed1f5 commit 698c628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/anagram/source/anagram/AnagramTest.ceylon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import ceylon.test {
...
}

// Tests adapted from problem-specifications version 1.4.0
// Tests adapted from problem-specifications version 1.4.1

{[String, {String*}, {String*}]*} cases => {
// no matches
Expand All @@ -27,7 +27,7 @@ import ceylon.test {
["Orchestra", { "cashregister", "carthorse", "radishes" }, { "carthorse" }],
// detects anagrams using case-insensitive possible matches
["orchestra", { "cashregister", "Carthorse", "radishes" }, { "Carthorse" }],
// does not detect a anagram if the original word is repeated
// does not detect an anagram if the original word is repeated
["go", { "go Go GO" }, {}],
// anagrams must use all letters exactly once
["tapper", { "patter" }, {}],
Expand Down

0 comments on commit 698c628

Please sign in to comment.