add failing unit test for bug 58648

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716338 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2015-11-25 09:19:03 +00:00
parent 1f874be829
commit 842171b94a

View File

@ -1355,4 +1355,17 @@ public abstract class BaseTestBugzillaIssues {
wb.close();
}
@Ignore
@Test
public void test58648() throws IOException {
Workbook wb = _testDataProvider.createWorkbook();
Cell cell = wb.createSheet().createRow(0).createCell(0);
cell.setCellFormula("((1 + 1) )");
// fails with
// org.apache.poi.ss.formula.FormulaParseException: Parse error near char ... ')'
// in specified formula '((1 + 1) )'. Expected cell ref or constant literal
wb.close();
}
}