Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
[test] Replace assertTrue(count(foo) > 0) with assertNotEmpty(foo)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maks3w committed May 1, 2015
1 parent 53360de commit ae69bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/DocumentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public function testLoadingDocumentWithErrorsShouldNotRaisePhpErrors()
$result = Document\Query::execute('p', $this->document, Document\Query::TYPE_CSS);
$errors = $this->document->getErrors();
$this->assertInternalType('array', $errors);
$this->assertTrue(0 < count($errors));
$this->assertNotEmpty($errors);
}

/**
Expand Down

0 comments on commit ae69bea

Please sign in to comment.