Fix Formatting
This commit is contained in:
parent
9d5c2d9151
commit
8ea9b486e7
|
@ -94,8 +94,9 @@ public class Argon2EncodingUtilsTests {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void decodeWhenNonexistingAlgorithmThenThrowException() {
|
public void decodeWhenNonexistingAlgorithmThenThrowException() {
|
||||||
assertThatIllegalArgumentException().isThrownBy(() -> Argon2EncodingUtils
|
assertThatIllegalArgumentException()
|
||||||
.decode("$argon2x$v=19$m=1024,t=3,p=2$Y1JkRmJDdzIzZ3oyTWx4aw$cGE5Cbd/cx7micVhXVBdH5qTr66JI1iUyuNNVAnErXs"))
|
.isThrownBy(() -> Argon2EncodingUtils.decode(
|
||||||
|
"$argon2x$v=19$m=1024,t=3,p=2$Y1JkRmJDdzIzZ3oyTWx4aw$cGE5Cbd/cx7micVhXVBdH5qTr66JI1iUyuNNVAnErXs"))
|
||||||
.withMessageContaining("argon2x");
|
.withMessageContaining("argon2x");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue