aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/hssf/usermodel/TestPolygon.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcases/org/apache/poi/hssf/usermodel/TestPolygon.java')
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestPolygon.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestPolygon.java b/src/testcases/org/apache/poi/hssf/usermodel/TestPolygon.java
index a144482e88..759e790a6f 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestPolygon.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestPolygon.java
@@ -43,7 +43,7 @@ class TestPolygon {
polygon.setPoints( new int[]{0, 90, 50}, new int[]{5, 5, 44} );
polygon.setShapeId(1024);
- assertEquals(polygon.getEscherContainer().getChildRecords().size(), 4);
+ assertEquals(polygon.getEscherContainer().getChildCount(), 4);
//sp record
byte[] expected = decompress("H4sIAAAAAAAAAGNi4PrAwQAELEDMxcAAAAU6ZlwQAAAA");