[
http://jira.codehaus.org/browse/JBEHAVE-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Elizabeth Keogh closed JBEHAVE-122.
-----------------------------------
Resolution: Not A Bug
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!
> Newline escape has the wrong order of \n\r
> ------------------------------------------
>
> Key: JBEHAVE-122
> URL: http://jira.codehaus.org/browse/JBEHAVE-122
> Project: JBehave
> Issue Type: Bug
> Reporter: Michael Hunger
>
> CandidateStep
> value.replaceAll("(\n)|(\r\n)", System.getProperty("line.separator"));
> must be:
> value.replaceAll("(\n)|(\n\r)", System.getProperty("line.separator"));
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email