Skip to content

Commit f198826

Browse files
committed
Fix testSha1Hex so it only uses sha1Hex
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1380038 13f79535-47bb-0310-9956-ffa450edef68
1 parent 5d758fa commit f198826

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/org/apache/commons/codec/digest/DigestUtilsTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ public void testSha1Hex() throws IOException {
174174

175175
assertEquals(
176176
"84983e441c3bd26ebaae4aa1f95129e5e54670f1",
177-
DigestUtils.shaHex("abcdbcdecdefdefgefghfghighij" + "hijkijkljklmklmnlmnomnopnopq"));
178-
assertEquals(DigestUtils.shaHex(testData),
177+
DigestUtils.sha1Hex("abcdbcdecdefdefgefghfghighij" + "hijkijkljklmklmnlmnomnopnopq"));
178+
assertEquals(DigestUtils.sha1Hex(testData),
179179
DigestUtils.sha1Hex(new ByteArrayInputStream(testData)));
180180
}
181181

0 commit comments

Comments
 (0)