Bit more testing for 51024
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090295 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3cc63312ae
commit
098fb98073
@ -2099,10 +2099,17 @@ if(1==2) {
|
|||||||
c.setCellFormula("VLOOKUP(\"v A1\", A1:B2, 1, 1)");
|
c.setCellFormula("VLOOKUP(\"v A1\", A1:B2, 1, 1)");
|
||||||
assertEquals("v A1", eval.evaluate(c).getStringValue());
|
assertEquals("v A1", eval.evaluate(c).getStringValue());
|
||||||
|
|
||||||
|
c.setCellFormula("VLOOKUP(\"v A1\", A1:B2, 1, )");
|
||||||
|
assertEquals("v A1", eval.evaluate(c).getStringValue());
|
||||||
|
|
||||||
|
|
||||||
c.setCellFormula("HLOOKUP(\"v A1\", A1:B2, 1)");
|
c.setCellFormula("HLOOKUP(\"v A1\", A1:B2, 1)");
|
||||||
assertEquals("v A1", eval.evaluate(c).getStringValue());
|
assertEquals("v A1", eval.evaluate(c).getStringValue());
|
||||||
|
|
||||||
c.setCellFormula("HLOOKUP(\"v A1\", A1:B2, 1, 1)");
|
c.setCellFormula("HLOOKUP(\"v A1\", A1:B2, 1, 1)");
|
||||||
assertEquals("v A1", eval.evaluate(c).getStringValue());
|
assertEquals("v A1", eval.evaluate(c).getStringValue());
|
||||||
|
|
||||||
|
c.setCellFormula("HLOOKUP(\"v A1\", A1:B2, 1, )");
|
||||||
|
assertEquals("v A1", eval.evaluate(c).getStringValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user