From b9d16debd8549601ed4621336dc896fe8741c936 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Sat, 13 Jan 2024 14:25:35 +0100 Subject: [PATCH] Remove superfluous code --- tests/unit/Framework/AssertTest.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/unit/Framework/AssertTest.php b/tests/unit/Framework/AssertTest.php index b22e1f5e8fe..904003af20c 100644 --- a/tests/unit/Framework/AssertTest.php +++ b/tests/unit/Framework/AssertTest.php @@ -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');