deptrac: test-suite doesn't green on windows
running the testsuite on a windows box lead to a lot of errors.
...<snip>
C:\dvl\GitHub\deptrac\tests\OutputFormatter\BaselineOutputFormatterTest.php:115
31) Tests\Qossmic\Deptrac\OutputFormatter\BaselineOutputFormatterTest::testBasic with data set #1 (array(Qossmic\Deptrac\RulesetEngine\Violation Object (...)), 'skip_violations:\r\n Origina...lB\r\n')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'skip_violations:\r\n
- OriginalA:\r\n
- - OriginalB\r\n
+'skip_violations:\n
+ OriginalA:\n
+ - OriginalB\n
'
C:\dvl\GitHub\deptrac\tests\OutputFormatter\BaselineOutputFormatterTest.php:115
32) Tests\Qossmic\Deptrac\OutputFormatter\BaselineOutputFormatterTest::testBasic with data set #0 (array(Qossmic\Deptrac\RulesetEngine\Violation Object (...)), 'skip_violations:\r\n ClassA:...sB\r\n')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'skip_violations:\r\n
- ClassA:\r\n
- - ClassB\r\n
+'skip_violations:\n
+ ClassA:\n
+ - ClassB\n
'
C:\dvl\GitHub\deptrac\tests\OutputFormatter\BaselineOutputFormatterTest.php:115
FAILURES!
Tests: 283, Assertions: 466, Failures: 32.
it seems most of them are related to mixed line-endings.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (8 by maintainers)
Sure, will have a look