Skip to content

Commit 79b64ce

Browse files
fix merge
1 parent 05ab1cd commit 79b64ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Filesystem/Tests/FilesystemTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public function testCopyForOriginUrlsAndExistingLocalFileDefaultsToCopy()
169169
$this->filesystem->copy($sourceFilePath, $targetFilePath, false);
170170

171171
$this->assertFileExists($targetFilePath);
172-
$this->assertFileEquals($sourceFilePath, $targetFilePath);
172+
$this->assertEquals(file_get_contents($sourceFilePath), file_get_contents($targetFilePath));
173173
}
174174

175175
public function testMkdirCreatesDirectoriesRecursively()
@@ -1518,7 +1518,7 @@ public function testAppendToFile()
15181518
$this->filesystem->appendToFile($filename, 'bar');
15191519

15201520
$this->assertFileExists($filename);
1521-
$this->assertStringEqualsFile($filename, 'bar');
1521+
$this->assertStringEqualsFile($filename, 'foobar');
15221522

15231523
// skip mode check on Windows
15241524
if ('\\' !== DIRECTORY_SEPARATOR) {

0 commit comments

Comments
 (0)