Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Explicitly test for unspecified 'q' values
  • Loading branch information
Cosimo Streppone committed Nov 3, 2011
1 parent 4b99520 commit 8b92a80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/q.t
Expand Up @@ -16,6 +16,7 @@ my @tests = (
[ 'en-US,en;q=0.9', 'en' ],
[ 'ru,en;q=0.9', 'ru' ],
[ '*,uk;q=0.2,fr;q=0.1', 'uk', 'Wildcard * should be last one' ],
[ 'de;q=0.8,pl,fr;q=0.2', 'pl', 'Unspecified q means q=1, regardless of position' ],
);

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

0 comments on commit 8b92a80

Please sign in to comment.