diff options
Diffstat (limited to 'src/testcases/org')
-rw-r--r-- | src/testcases/org/apache/poi/ss/usermodel/BaseTestConditionalFormatting.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcases/org/apache/poi/ss/usermodel/BaseTestConditionalFormatting.java b/src/testcases/org/apache/poi/ss/usermodel/BaseTestConditionalFormatting.java index fd33cf0319..5b17cc964d 100644 --- a/src/testcases/org/apache/poi/ss/usermodel/BaseTestConditionalFormatting.java +++ b/src/testcases/org/apache/poi/ss/usermodel/BaseTestConditionalFormatting.java @@ -563,8 +563,8 @@ public abstract class BaseTestConditionalFormatting { ConditionalFormatting cf = sheetCF.getConditionalFormattingAt(i); if (cf instanceof HSSFConditionalFormatting) { String str = cf.toString(); - if (str.contains("[CF]")) fCF++; - if (str.contains("[CF12]")) fCF12++; + if (str.contains("/* CF_RULE */")) fCF++; + if (str.contains("/* CF_RULE_12 */")) fCF12++; if (str.contains("[CFEX]")) fCFEX++; } else { ConditionType type = cf.getRule(cf.getNumberOfRules() - 1).getConditionType(); |