Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pangram: fix test for duplicate mixed-case chars (#852)
From what I can see, the last test case is intended to catch incorrect programs such as this, which don't take into account different-cased duplicates: ```haskell isPangram = (== 26) . length . nub . filter isAlpha ``` However the above program passed the final test as the count of distinct upper and lower case characters is 27, rather than 26. This commit changes the test text to a non-pangram that has exactly 26 distinct upper and lower case characters, which causes the above incorrect program to fail.
- Loading branch information