Skip to content

Commit a5dc004

Browse files
committed
Merge branch '2.0.x'
2 parents 6765afa + cd1c263 commit a5dc004

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/EndpointIdTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public void ofWhenEmptyThrowsException() {
4141
}
4242

4343
@Test
44-
public void ofWhenContainsInvalidCharThrowsException() {
45-
assertThatIllegalArgumentException().isThrownBy(() -> EndpointId.of("foo!bar"))
44+
public void ofWhenContainsSlashThrowsException() {
45+
assertThatIllegalArgumentException().isThrownBy(() -> EndpointId.of("foo/bar"))
4646
.withMessage("Value must only contain valid chars");
4747
}
4848

0 commit comments

Comments
 (0)