Skip to content

Commit b2a7040

Browse files
committed
Modifying code conventions
1 parent 9fe2858 commit b2a7040

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oauth2/oauth2-core/src/test/java/org/springframework/security/oauth2/core/user/DefaultOAuth2UserTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ public void constructorWhenAttributesIsEmptyThenThrowIllegalArgumentException()
6262

6363
@Test
6464
public void constructorWhenAttributeValueIsNullThenThrowIllegalArgumentException() {
65-
assertThatIllegalArgumentException()
66-
.isThrownBy(() -> new DefaultOAuth2User(AUTHORITIES, Collections.singletonMap(ATTRIBUTE_NAME_KEY, null), ATTRIBUTE_NAME_KEY));
65+
assertThatIllegalArgumentException().isThrownBy(() -> new DefaultOAuth2User(AUTHORITIES,
66+
Collections.singletonMap(ATTRIBUTE_NAME_KEY, null), ATTRIBUTE_NAME_KEY));
6767
}
6868

6969
@Test

0 commit comments

Comments
 (0)