提交 e0a445c2 编写于 作者: J Jesse Glick

Merge pull request #745 from rhadman/JENKINS-16942

[FIXED JENKINS-16942] SecretRewriterTest failure on Windows 7
......@@ -52,7 +52,7 @@ class SecretRewriterTest {
def f = File.createTempFile("test", "xml", tmp.root)
f.text = before
sr.rewrite(f,null)
assert after.trim()==f.text.trim()
assert after.replaceAll(System.getProperty("line.separator"), "\n").trim()==f.text.replaceAll(System.getProperty("line.separator"), "\n").trim()
}
String encryptOld(str) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册