Conditions | 2 |
Paths | 2 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
51 | protected function assertFileEqualsString(string $string, string $path, bool $strict = false): void |
||
52 | { |
||
53 | if ($strict) { |
||
54 | $this->assertSame($string, file_get_contents(Hyde::path($path))); |
||
55 | } else { |
||
56 | $this->assertEquals(normalize_newlines($string), normalize_newlines(file_get_contents(Hyde::path($path)))); |
||
57 | } |
||
60 |