-
Notifications
You must be signed in to change notification settings - Fork 118
/
Copy pathassert-file-equals.php
31 lines (25 loc) · 1.65 KB
/
assert-file-equals.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
class TestAssertFileEquals
{
public function test()
{
<weak_warning descr="'assertFileEquals(...)' would fit more here.">$this->assertSame(file_get_contents(''), file_get_contents(''))</weak_warning>;
<weak_warning descr="'assertFileEquals(...)' would fit more here.">$this->assertEquals(file_get_contents(''), file_get_contents(''))</weak_warning>;
<weak_warning descr="'assertFileEquals(...)' would fit more here.">$this->assertStringEqualsFile('', file_get_contents(''))</weak_warning>;
<weak_warning descr="'assertFileEquals(...)' would fit more here.">$this->assertStringEqualsFile('', file_get_contents(''))</weak_warning>;
$this->assertSame('string', file_get_contents(''));
$this->assertEquals('string', file_get_contents(''));
}
public function testWithMessages()
{
<weak_warning descr="'assertFileEquals(...)' would fit more here.">$this->assertSame(file_get_contents(''), file_get_contents(''), '')</weak_warning>;
<weak_warning descr="'assertFileEquals(...)' would fit more here.">$this->assertEquals(file_get_contents(''), file_get_contents(''), '')</weak_warning>;
<weak_warning descr="'assertFileEquals(...)' would fit more here.">$this->assertStringEqualsFile('', file_get_contents(''), '')</weak_warning>;
<weak_warning descr="'assertFileEquals(...)' would fit more here.">$this->assertStringEqualsFile('', file_get_contents(''), '')</weak_warning>;
}
public function assertFileEquals()
{
$this->assertSame(file_get_contents(''), file_get_contents(''), '');
$this->assertEquals(file_get_contents(''), file_get_contents(''), '');
}
}