forbidden api

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894699 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2021-11-02 21:12:40 +00:00
parent face981f3f
commit c7954fdcd8
2 changed files with 4 additions and 1 deletions

View File

@ -19,6 +19,7 @@ package org.apache.poi.xdgf.usermodel.section.geometry;
import com.microsoft.schemas.office.visio.x2012.main.CellType;
import com.microsoft.schemas.office.visio.x2012.main.RowType;
import org.apache.poi.util.LocaleUtil;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
@ -164,7 +165,9 @@ public class TestArcTo {
private static void assertCoordinates(double[] expected, double[] actual) {
if (expected.length != actual.length) {
Assertions.fail(String.format("Given coordinates arrays have different length: expected=%s, actual=%s",
Assertions.fail(String.format(
LocaleUtil.getUserLocale(),
"Given coordinates arrays have different length: expected=%s, actual=%s",
Arrays.toString(expected), Arrays.toString(actual)));
}
for (int i = 0; i < expected.length; i++) {

Binary file not shown.