aboutsummaryrefslogtreecommitdiffstats
path: root/poi/src
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2022-02-03 13:05:40 +0000
committerPJ Fanning <fanningpj@apache.org>2022-02-03 13:05:40 +0000
commit14656c49515dbdcc3c8130d1a1a46d47dff97dbf (patch)
treef3836ead2a768ead768b4d64cb08f120a3ef4667 /poi/src
parentd8b574b3257474cb65ddb00b571380d0828e53f7 (diff)
downloadpoi-14656c49515dbdcc3c8130d1a1a46d47dff97dbf.tar.gz
poi-14656c49515dbdcc3c8130d1a1a46d47dff97dbf.zip
[bug-62857] support locale
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897725 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi/src')
-rw-r--r--poi/src/test/java/org/apache/poi/ss/formula/eval/TestFormulasFromSpreadsheet.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/poi/src/test/java/org/apache/poi/ss/formula/eval/TestFormulasFromSpreadsheet.java b/poi/src/test/java/org/apache/poi/ss/formula/eval/TestFormulasFromSpreadsheet.java
index fc8d0b98af..4c22725b1e 100644
--- a/poi/src/test/java/org/apache/poi/ss/formula/eval/TestFormulasFromSpreadsheet.java
+++ b/poi/src/test/java/org/apache/poi/ss/formula/eval/TestFormulasFromSpreadsheet.java
@@ -21,6 +21,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;
+import static org.junit.jupiter.api.Assumptions.assumeFalse;
import java.util.ArrayList;
import java.util.List;
@@ -152,6 +153,9 @@ public final class TestFormulasFromSpreadsheet {
@ParameterizedTest
@MethodSource("data")
void processFunctionRow(String targetFunctionName, int formulasRowIdx, int expectedValuesRowIdx) {
+ //DOLLAR function returns a string that is locale specific
+ assumeFalse(targetFunctionName.equalsIgnoreCase("DOLLAR"));
+
Row formulasRow = sheet.getRow(formulasRowIdx);
Row expectedValuesRow = sheet.getRow(expectedValuesRowIdx);