Skip to content

Commit 1438366

Browse files
authored
Merge pull request #114 from carusogabriel/refactoring-tests
Use assertStringEqualsFile
2 parents 3fae3c0 + a54cd78 commit 1438366

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/phpDocumentor/Reflection/File/LocalFileTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class LocalFileTest extends TestCase
2525
public function testGetContents()
2626
{
2727
$file = new LocalFile(__FILE__);
28-
$this->assertEquals(file_get_contents(__FILE__), $file->getContents());
28+
$this->assertStringEqualsFile(__FILE__, $file->getContents());
2929
}
3030

3131
/**

0 commit comments

Comments
 (0)