Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://issues.jenkins-ci.org/browse/JENKINS-16942 PrintWriter.println() uses the OS specific line separator. When SecretRewriter rewrites the secret file, the lines are converted to the format of the running OS. The test case does not account for this. Since the test case is coded expecting line endings of \n, this fix converts \r\n to \n before comparing.
- Loading branch information