fix broken test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900399 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-04-29 20:53:49 +00:00
parent 5a8ee02f3a
commit bc30e1a6f5
2 changed files with 1 additions and 3 deletions

View File

@ -29,7 +29,7 @@ import org.apache.poi.ss.formula.functions.CountUtils.I_MatchPredicate;
* the generic AverageIfs version.
*/
public class AverageIf extends Baseifs {
public static final FreeRefFunction instance = new Averageifs();
public static final FreeRefFunction instance = new AverageIf();
@Override
public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) {

View File

@ -33,7 +33,6 @@ import org.apache.poi.ss.formula.eval.NumericValueEval;
import org.apache.poi.ss.formula.eval.StringEval;
import org.apache.poi.ss.formula.eval.ValueEval;
import org.apache.poi.ss.usermodel.FormulaEvaluator;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.io.IOException;
@ -118,7 +117,6 @@ final class TestAverageIf {
confirm(24500, args);
}
@Disabled("broken test")
@Test
void testExample2() throws IOException {
try (HSSFWorkbook wb = new HSSFWorkbook()) {