Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Not A Bug
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
CandidateStep
value.replaceAll("(\n)|(\r\n)", System.getProperty("line.separator"));
must be:
value.replaceAll("(\n)|(\n\r)", System.getProperty("line.separator"));
Activity
Elizabeth Keogh
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Not A Bug [ 6 ] |
I tried this, and it didn't work (failed on my Windows machine, anyway). See: http://en.wikipedia.org/wiki/Newline - \r\n appears to be right.
If for some reason it's failing for you, please could you output the stack trace, including the text from the failing expectation?
Thanks!