Skip to content

Commit 48d6726

Browse files
committed
make the test at least test the library it's calling
1 parent bb65d43 commit 48d6726

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/io/ipfs/multihash/MultihashTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public void base58Test() {
1313
for (String example: examples) {
1414
byte[] output = Base58.decode(example);
1515
String encoded = Base58.encode(output);
16-
if (!encoded.equals(encoded))
16+
if (!encoded.equals(example))
1717
throw new IllegalStateException("Incorrect base58! " + example + " => " + encoded);
1818
}
1919
}

0 commit comments

Comments
 (0)