Issue Type: Bug Bug
Affects Versions: 3.7.5
Assignee: Unassigned
Components: Core
Created: 08/Apr/13 6:51 AM
Description:

ExamplesTable uses "\n" as a separator when splitting the table into rows:

private static final String ROW_SEPARATOR = "\n";

private void parseByRows(...) {
String[] rows = tableAsString.split(ROW_SEPARATOR);

In a file with windows line endings, this leaves a trailing "\r" which is then interpreted as an extra blank column.

Suggested fix is to use the regex "\\r\\n|\\r|
n" to split.

Project: JBehave
Priority: Minor Minor
Reporter: Emily Middleton
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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

Reply via email to