Skip to content

Commit

Permalink
Skip test which is invalid on older ICU versions
Browse files Browse the repository at this point in the history
  • Loading branch information
DASPRiD committed Sep 13, 2014
1 parent 5104c90 commit 9f006e2
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ public function testExceptionOnInvalidWidth()
*/
public function testExceptionOnInvalidCategory()
{
if (IntlHelper::getIcuVersion() < 52) {
$this->markTestSkipped('Categories are only used as of ICU version 52');
}

$this->setExpectedException(
'UnexpectedValueException',
'Invalid category provided: "foobar"'
Expand Down

0 comments on commit 9f006e2

Please sign in to comment.