aboutsummaryrefslogtreecommitdiffstats
path: root/poi/src/test
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2021-10-10 08:02:20 +0000
committerPJ Fanning <fanningpj@apache.org>2021-10-10 08:02:20 +0000
commit87eed3a8b15f5fba279d39216ef210426a5a8ec8 (patch)
tree9459a098f50dbf34e11fa28dbf3f5391ac40c4f1 /poi/src/test
parent29c975491ffd137cfa0cd3da69a32aa6a10f1f0c (diff)
downloadpoi-87eed3a8b15f5fba279d39216ef210426a5a8ec8.tar.gz
poi-87eed3a8b15f5fba279d39216ef210426a5a8ec8.zip
[bug-65306] try to fix broken test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894093 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi/src/test')
-rw-r--r--poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java b/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java
index 2cb1acdfbe..8f67877635 100644
--- a/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java
+++ b/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java
@@ -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 = "Cell Sheet0!C2 is part of a multi-cell array formula. You cannot change part of an array.";
+ String msg = "Row[rownum=0] contains cell(s) included in a multi-cell array formula. You cannot change part of an array.";
assertEquals(msg, e.getMessage());
/*
TODO: enable shifting the whole array