diff options
author | PJ Fanning <fanningpj@apache.org> | 2025-03-23 11:17:30 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2025-03-23 11:17:30 +0000 |
commit | 49aef015a805e60be5a537c5d62a7119e4241ef1 (patch) | |
tree | d7e4751030af8638283ffba23ec497cd2be7ec20 | |
parent | 70a69a4917bacb3df7a869d6547b0cd785d558af (diff) | |
download | poi-49aef015a805e60be5a537c5d62a7119e4241ef1.tar.gz poi-49aef015a805e60be5a537c5d62a7119e4241ef1.zip |
fix test issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1924535 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestConditionalFormatting.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestConditionalFormatting.java b/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestConditionalFormatting.java index 29f62da235..64f585608a 100644 --- a/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestConditionalFormatting.java +++ b/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestConditionalFormatting.java @@ -531,7 +531,7 @@ public abstract class BaseTestConditionalFormatting { // Sanity check data assertEquals("Values", s.getRow(0).getCell(0).toString()); - assertEquals("10", s.getRow(2).getCell(0).toString()); + assertEquals(10.0, s.getRow(2).getCell(0).getNumericCellValue()); // Check we found all the conditional formatting rules we should have SheetConditionalFormatting sheetCF = s.getSheetConditionalFormatting(); |