diff options
Diffstat (limited to 'src/testcases/org/apache/poi/sl')
-rw-r--r-- | src/testcases/org/apache/poi/sl/draw/geom/TestPresetGeometries.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testcases/org/apache/poi/sl/draw/geom/TestPresetGeometries.java b/src/testcases/org/apache/poi/sl/draw/geom/TestPresetGeometries.java index 371188edb6..fe7b087c2c 100644 --- a/src/testcases/org/apache/poi/sl/draw/geom/TestPresetGeometries.java +++ b/src/testcases/org/apache/poi/sl/draw/geom/TestPresetGeometries.java @@ -20,6 +20,7 @@ package org.apache.poi.sl.draw.geom; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; import java.awt.geom.Path2D; @@ -52,7 +53,7 @@ public class TestPresetGeometries { } // we get the same instance on further calls - assertTrue(shapes == PresetGeometries.getInstance()); + assertSame(shapes, PresetGeometries.getInstance()); } // helper methods to adjust list of presets for other tests |