mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
Add third argument to verify custom error message isn't overwrite
This commit is contained in:
parent
491b697b77
commit
b82a0734dc
@ -4,13 +4,13 @@ final class MyTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function test()
|
||||
{
|
||||
$this->assertCount(5, $something);
|
||||
$this->assertNotCount(5, $something);
|
||||
$this->assertCount(5, $something);
|
||||
$this->assertNotCount(5, $something);
|
||||
$this->assertCount(5, $something);
|
||||
$this->assertNotCount(5, $something);
|
||||
$this->assertCount(5, $something);
|
||||
$this->assertNotCount(5, $something);
|
||||
$this->assertCount(5, $something, 'third argument');
|
||||
$this->assertNotCount(5, $something, 'third argument');
|
||||
$this->assertCount(5, $something, 'third argument');
|
||||
$this->assertNotCount(5, $something, 'third argument');
|
||||
$this->assertCount(5, $something, 'third argument');
|
||||
$this->assertNotCount(5, $something, 'third argument');
|
||||
$this->assertCount(5, $something, 'third argument');
|
||||
$this->assertNotCount(5, $something, 'third argument');
|
||||
}
|
||||
}
|
||||
|
@ -4,13 +4,13 @@ final class MyTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function test()
|
||||
{
|
||||
$this->assertSame(5, count($something));
|
||||
$this->assertNotSame(5, count($something));
|
||||
$this->assertEquals(5, count($something));
|
||||
$this->assertNotEquals(5, count($something));
|
||||
$this->assertSame(5, sizeof($something));
|
||||
$this->assertNotSame(5, sizeof($something));
|
||||
$this->assertEquals(5, sizeof($something));
|
||||
$this->assertNotEquals(5, sizeof($something));
|
||||
$this->assertSame(5, count($something), 'third argument');
|
||||
$this->assertNotSame(5, count($something), 'third argument');
|
||||
$this->assertEquals(5, count($something), 'third argument');
|
||||
$this->assertNotEquals(5, count($something), 'third argument');
|
||||
$this->assertSame(5, sizeof($something), 'third argument');
|
||||
$this->assertNotSame(5, sizeof($something), 'third argument');
|
||||
$this->assertEquals(5, sizeof($something), 'third argument');
|
||||
$this->assertNotEquals(5, sizeof($something), 'third argument');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user