Skip to content

Commit

Permalink
Remove superfluous code
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jan 13, 2024
1 parent 2bab0f2 commit b9d16de
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/unit/Framework/AssertTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1572,13 +1572,9 @@ public function testAssertStringNotMatchesFormatFile(): void

public function testAssertFileEqualsCanonicalizing(): void
{
// Check that files is not equal by simple compare
$this->assertFileNotEquals(TEST_FILES_PATH . 'foo.txt', TEST_FILES_PATH . 'bar.txt');

$this->assertFileEqualsCanonicalizing(TEST_FILES_PATH . 'foo.txt', TEST_FILES_PATH . 'foo.txt');

// $this->assertFileEqualsCanonicalizing(TEST_FILES_PATH . 'foo.txt', TEST_FILES_PATH . 'bar.txt');

$this->expectException(AssertionFailedError::class);

$this->assertFileEqualsCanonicalizing(TEST_FILES_PATH . 'foo.txt', TEST_FILES_PATH . 'foo.xml');
Expand Down

0 comments on commit b9d16de

Please sign in to comment.