test case that checks to see if a case of MissingArgsPtg in the formula string is handled correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@434425 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3f82bd9b71
commit
8a926c028c
@ -1119,6 +1119,13 @@ extends TestCase {
|
|||||||
System.out.println("Open "+outF.getAbsolutePath()+" in Excel");
|
System.out.println("Open "+outF.getAbsolutePath()+" in Excel");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* MissingArgPtg */
|
||||||
|
public void testMissingArgPtg() throws Exception {
|
||||||
|
HSSFWorkbook wb = new HSSFWorkbook();
|
||||||
|
HSSFCell cell = wb.createSheet("Sheet1").createRow(4).createCell((short) 0);
|
||||||
|
cell.setCellFormula("IF(A1=\"A\",1,)");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public static void main(String [] args) {
|
public static void main(String [] args) {
|
||||||
System.out
|
System.out
|
||||||
|
Loading…
Reference in New Issue
Block a user