mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-23 12:32:13 +00:00
Fix Formatting
This commit is contained in:
parent
d2d1275b39
commit
547d174f3e
@ -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…
x
Reference in New Issue
Block a user