We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bf874e commit eb76f57Copy full SHA for eb76f57
1 file changed
src/test/java/org/apache/commons/codec/binary/HexTest.java
@@ -198,7 +198,7 @@ public void testCustomCharsetBadName() {
198
199
@Test
200
public void testCustomCharsetToString() {
201
- assertTrue(new Hex().toString().indexOf(Hex.DEFAULT_CHARSET_NAME) >= 0);
+ assertTrue(new Hex().toString().contains(Hex.DEFAULT_CHARSET_NAME));
202
}
203
204
0 commit comments