From c283a29497faf69675d9f961d37459849165060e Mon Sep 17 00:00:00 2001 From: mambax7 Date: Mon, 1 Jul 2024 03:27:48 -0400 Subject: [PATCH] remove '\' --- tests/unit/PublicSuffixListTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/PublicSuffixListTest.php b/tests/unit/PublicSuffixListTest.php index ee15f59..cbece9c 100644 --- a/tests/unit/PublicSuffixListTest.php +++ b/tests/unit/PublicSuffixListTest.php @@ -88,7 +88,7 @@ public function testFallbackURL() $property->setAccessible(true); // $expectedUrl = file_exists(dirname(__DIR__, 2) . '/data/public_suffix_list.dat') ? dirname(__DIR__, 2) . '/data/public_suffix_list.dat' : 'https://publicsuffix.org/list/public_suffix_list.dat'; - $expectedUrl = \\file_exists(\\dirname(__DIR__, 2) . '/data/public_suffix_list.dat') ? '/../data/public_suffix_list.dat' : 'https://publicsuffix.org/list/public_suffix_list.dat'; + $expectedUrl = \file_exists(\dirname(__DIR__, 2) . '/data/public_suffix_list.dat') ? '/../data/public_suffix_list.dat' : 'https://publicsuffix.org/list/public_suffix_list.dat'; $this->assertSame($expectedUrl, $property->getValue($this->object)); } }