Skip to content

Commit

Permalink
More tests for language-script in Accept-Language
Browse files Browse the repository at this point in the history
  • Loading branch information
koterpillar committed Mar 11, 2015
1 parent c6be0af commit 00b5bc3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions testsuite/TestLanguage.hs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ test_parseLanguage = do
assertEqual
(Just EN)
(parseLanguage "en-AU")
assertEqual
(Just ZH)
(parseLanguage "zh-Hans")

instance Arbitrary LanguagePreference where
arbitrary = mkPreference <$> arbitrary
Expand Down

0 comments on commit 00b5bc3

Please sign in to comment.