diff --git a/exercises/practice/pangram/.meta/tests.toml b/exercises/practice/pangram/.meta/tests.toml index 7c35818f..10b5a335 100644 --- a/exercises/practice/pangram/.meta/tests.toml +++ b/exercises/practice/pangram/.meta/tests.toml @@ -38,3 +38,8 @@ description = "mixed case and punctuation" [2577bf54-83c8-402d-a64b-a2c0f7bb213a] description = "case insensitive" +include = false + +[7138e389-83e4-4c6e-8413-1e40a0076951] +description = "a-m and A-M are 26 different characters but not a pangram" +reimplements = "2577bf54-83c8-402d-a64b-a2c0f7bb213a" diff --git a/exercises/practice/pangram/source/pangram.d b/exercises/practice/pangram/source/pangram.d index 3e5ab27e..cd9fa2a4 100644 --- a/exercises/practice/pangram/source/pangram.d +++ b/exercises/practice/pangram/source/pangram.d @@ -33,7 +33,7 @@ unittest // Mixed case and punctuation assert(isPangram("\"Five quacking Zephyrs jolt my wax bed\"")); - // Case insensitive - assert(!isPangram("the quick brown fox jumps over with lazy FX")); + // a-m and A-M are 26 different characters but not a pangram + assert(!isPangram("abcdefghijklm ABCDEFGHIJKLM")); } }