Skip to content

Commit

Permalink
add test case with three parts locale
Browse files Browse the repository at this point in the history
  • Loading branch information
luxifer committed Nov 19, 2015
1 parent 02335bd commit 58d40eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Negotiation/Tests/LanguageNegotiatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public static function dataProviderForTestGetBest()
array('en; q=0.1, fr; q=0.4, bu; q=1.0', array('en', 'fr'), 'fr'),
array('en; q=0.1, fr; q=0.4, fu; q=0.9, de; q=0.2', array('en', 'fu'), 'fu'),
array('', array('en', 'fu'), new InvalidArgument('The header string should not be empty.')),
array('fr, zh-Hans-CN;q=0.3', array('fr'), 'fr'),
);
}

Expand Down

0 comments on commit 58d40eb

Please sign in to comment.