Skip to content

Fixed helpTextWithCustomScriptName test failing on Windows

Thomas Flori requested to merge github/fork/Bilge/fix-failing-test-windows into master

Created by: Bilge

On Windows the code emitted CRLF but the test was expecting only LF (\n). It seems the code changes the line-ending character depending on the platform. However, I don't know if the error is in the application or the test. Perhaps the test was correct and the application is behaving incorrectly, however, this PR attempts to fix the test.

Since it seems you have no coverage of the Windows platform I cannot prove this PR fixes anything but perhaps you can test it empirically yourself or consider setting up Windows coverage via AppVeyor.

Merge request reports