aboutsummaryrefslogtreecommitdiffstats
path: root/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestSoundData.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestSoundData.java')
-rw-r--r--src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestSoundData.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestSoundData.java b/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestSoundData.java
index ea580e3832..529555594a 100644
--- a/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestSoundData.java
+++ b/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestSoundData.java
@@ -17,9 +17,9 @@
package org.apache.poi.hslf.usermodel;
-import java.util.Arrays;
-
+import static org.junit.Assert.assertArrayEquals;
import junit.framework.TestCase;
+
import org.apache.poi.POIDataSamples;
/**
@@ -42,6 +42,6 @@ public final class TestSoundData extends TestCase{
SoundData[] sound = ppt.getSoundData();
assertEquals("Expected 1 sound", 1, sound.length);
- assertTrue(Arrays.equals(ref_data, sound[0].getData()));
+ assertArrayEquals(ref_data, sound[0].getData());
}
}