Skip to content

Commit e53ac02

Browse files
committed
Sort test members
1 parent e1bc271 commit e53ac02

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ public class Base16Test {
4545

4646
private final Random random = new Random();
4747

48-
@Test
49-
public void testCheckEncodeLengthBounds() {
50-
final Base16 base16 = new Base16();
51-
assertThrows(IllegalArgumentException.class, () -> base16.encode(new byte[10], 0, 1 << 30));
52-
}
53-
5448
/**
5549
* @return Returns the random.
5650
*/
@@ -114,6 +108,12 @@ public void testByteToStringVariations() {
114108
assertNull(StringUtils.newStringUtf8(new Base16().encode(b3)), "byteToString static null");
115109
}
116110

111+
@Test
112+
public void testCheckEncodeLengthBounds() {
113+
final Base16 base16 = new Base16();
114+
assertThrows(IllegalArgumentException.class, () -> base16.encode(new byte[10], 0, 1 << 30));
115+
}
116+
117117
/**
118118
* isBase16 throws RuntimeException on some
119119
* non-Base16 bytes

0 commit comments

Comments
 (0)