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:
parent
a4cedc870c
commit
a3450aa96c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user