mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
[bug-65306] change error message
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894092 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7d47c205e9
commit
29c975491f
@ -495,7 +495,7 @@ public abstract class BaseTestSheetUpdateArrayFormulas {
|
||||
//we cannot set individual formulas for cells included in an array formula
|
||||
sheet.setArrayFormula("A1:A3*B1:B3", CellRangeAddress.valueOf("C1:C3"));
|
||||
IllegalStateException e = assertThrows(IllegalStateException.class, () -> sheet.shiftRows(0, 0, 1));
|
||||
String msg = "Row[rownum=0] contains cell(s) included in a multi-cell array formula. You cannot change part of an array.";
|
||||
String msg = "Cell Sheet0!C2 is part of a multi-cell array formula. You cannot change part of an array.";
|
||||
assertEquals(msg, e.getMessage());
|
||||
/*
|
||||
TODO: enable shifting the whole array
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user