Skip to content

Commit 845c2f7

Browse files
committed
Split test method in two.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1637844 13f79535-47bb-0310-9956-ffa450edef68
1 parent c8ebfac commit 845c2f7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/test/java/org/apache/commons/codec/binary/HexTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,13 @@ public void testDecodeStringOddCharacters() {
243243
}
244244

245245
@Test
246-
public void testDecodeEmpty() throws DecoderException {
246+
public void testDecodeByteArrayEmpty() throws DecoderException {
247247
assertTrue(Arrays.equals(new byte[0], Hex.decodeHex(new char[0])));
248248
assertTrue(Arrays.equals(new byte[0], new Hex().decode(new byte[0])));
249+
}
250+
251+
@Test
252+
public void testDecodeStringEmpty() throws DecoderException {
249253
assertTrue(Arrays.equals(new byte[0], (byte[]) new Hex().decode("")));
250254
}
251255

0 commit comments

Comments
 (0)