Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RegressionTestHelper / TestNonRegression line endings issue developing on Windows #33

Closed
macg33zr opened this issue May 12, 2017 · 0 comments

Comments

@macg33zr
Copy link
Contributor

When developing on windows, when the call stack regression test file is generated it has Windows line endings (\r\n). After commit the regression test fails as the comparison does not normalise the line endings. The helper needs to normalise line endings.

In class RegressionTestHelper the method TestNonRegression it needs to do this:

assertThat(callStack.normalize()).isEqualTo(referenceFile.text.normalize())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant