Skip to content

Commit fbda264

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

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
@@ -293,9 +293,13 @@ public void testEncodeDecodeRandom() throws DecoderException, EncoderException {
293293
}
294294

295295
@Test
296-
public void testEncodeEmpty() throws EncoderException {
296+
public void testEncodeHexBytesEmpty() throws EncoderException {
297297
assertTrue(Arrays.equals(new char[0], Hex.encodeHex(new byte[0])));
298298
assertTrue(Arrays.equals(new byte[0], new Hex().encode(new byte[0])));
299+
}
300+
301+
@Test
302+
public void testEncodeStringEmpty() throws EncoderException {
299303
assertTrue(Arrays.equals(new char[0], (char[]) new Hex().encode("")));
300304
}
301305

0 commit comments

Comments
 (0)