Skip to content

Commit

Permalink
Merge pull request #115 from SkUrRiEr/fix-hhvm-build
Browse files Browse the repository at this point in the history
Fix Travis' build on HHVM
  • Loading branch information
giorgiosironi authored Jun 4, 2018
2 parents d7cbea4 + f40c008 commit 55de574
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions examples/CharacterTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php
use Eris\Generator;
use Eris\Antecedent as is;
use Eris\Antecedent as are;
use Eris\Antecedent;

class CharacterTest extends PHPUnit_Framework_TestCase
{
Expand All @@ -22,7 +21,7 @@ public function testLengthOfPrintableAsciiCharacters()
$this->forAll(
Generator\char(['basic-latin'])
)
->when(is\printableCharacter())
->when(Antecedent\printableCharacter())
->then(function ($char) {
$this->assertFalse(ord($char) < 32);
});
Expand All @@ -36,7 +35,7 @@ public function testMultiplePrintableCharacters()
Generator\char(['basic-latin']),
Generator\char(['basic-latin'])
)
->when(are\printableCharacters())
->when(Antecedent\printableCharacters())
->then(function ($first, $second) {
$this->assertFalse(ord($first) < 32);
$this->assertFalse(ord($second) < 32);
Expand Down

0 comments on commit 55de574

Please sign in to comment.