]> source.dussan.org Git - poi.git/commitdiff
[bug-65306] change error message
authorPJ Fanning <fanningpj@apache.org>
Sun, 10 Oct 2021 07:53:00 +0000 (07:53 +0000)
committerPJ Fanning <fanningpj@apache.org>
Sun, 10 Oct 2021 07:53:00 +0000 (07:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894092 13f79535-47bb-0310-9956-ffa450edef68

poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java

index 8f67877635f0cf5ad9c960642b3b6fde9be76e6e..2cb1acdfbe801d4f018203d8c1c7c6ddc7cb5a65 100644 (file)
@@ -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