1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-03-25 01:39:51 +01:00

Fixed indentation (LoremTest)

This commit is contained in:
Geoffrey Brier 2012-05-25 16:58:45 +02:00
parent a4cedc870c
commit a3450aa96c

View File

@ -16,19 +16,19 @@ class LoremTest extends \PHPUnit_Framework_TestCase
$this->assertEquals($singleParagraph . "\n" . $singleParagraph, $provider->text(52));
}
public function testWithNegativeParam()
{
$this->assertEquals('', Lorem::sentence(-1));
$this->assertEquals('', Lorem::paragraph(-1));
$this->assertEquals('', Lorem::sentence(0));
$this->assertEquals('', Lorem::paragraph(0));
}
public function testWithNegativeParam()
{
$this->assertEquals('', Lorem::sentence(-1));
$this->assertEquals('', Lorem::paragraph(-1));
$this->assertEquals('', Lorem::sentence(0));
$this->assertEquals('', Lorem::paragraph(0));
}
public function testWithStrictlyPositiveParam()
{
$this->assertGreaterThan(1, strlen(Lorem::sentence(1)));
$this->assertGreaterThan(1, strlen(Lorem::paragraph(1)));
}
public function testWithStrictlyPositiveParam()
{
$this->assertGreaterThan(1, strlen(Lorem::sentence(1)));
$this->assertGreaterThan(1, strlen(Lorem::paragraph(1)));
}
}
class TestableLorem extends Lorem