Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added a few failing tests to fix bugs with languages such as zh-cn, p…
…t-br, etc...
  • Loading branch information
cosimo committed May 6, 2010
1 parent 5578e73 commit 04f9a63
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion t/composite.t
Expand Up @@ -7,9 +7,12 @@
use strict;
require test;


my @tests = (
[ 'en-US,en-GB;q=0.9,de-AT;q=0.8,de;q=0.7' => 'en', 'Composite language en-US should be treated as "en"' ],
[ 'de-at' => 'de', 'Composite language de-at that is not supported should fallback to "de"' ],
[ 'de-AT' => 'de', 'Composite language de-AT that is not supported should fallback to "de"' ],
[ 'zh-cn' => 'zh-cn', 'Composite language that is supported should be detected correctly' ],
[ 'zh-CN' => 'zh-cn', 'Composite language that is supported should be detected correctly' ],
);

Test::More::plan(tests => @tests + 1);
Expand Down

0 comments on commit 04f9a63

Please sign in to comment.