Corrected the tests
This commit is contained in:
parent
b7f31513f8
commit
67f11db211
|
@ -39,6 +39,6 @@ public class StringToBigIntegerUnitTest {
|
||||||
final String inputString = "290f98";
|
final String inputString = "290f98";
|
||||||
byte[] inputStringBytes = inputString.getBytes();
|
byte[] inputStringBytes = inputString.getBytes();
|
||||||
BigInteger result = new BigInteger(inputStringBytes);
|
BigInteger result = new BigInteger(inputStringBytes);
|
||||||
assertEquals("Hello Baeldung", new String(result.toByteArray()));
|
assertEquals("290f98", new String(result.toByteArray()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue