Skip to content

Commit

Permalink
remove '\'
Browse files Browse the repository at this point in the history
  • Loading branch information
mambax7 committed Jul 1, 2024
1 parent e04fbb9 commit c283a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/PublicSuffixListTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

0 comments on commit c283a29

Please sign in to comment.