mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-03 07:49:03 +00:00
Merge branch '2.0.x'
This commit is contained in:
+2
-2
@@ -41,8 +41,8 @@ public class EndpointIdTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void ofWhenContainsInvalidCharThrowsException() {
|
||||
assertThatIllegalArgumentException().isThrownBy(() -> EndpointId.of("foo!bar"))
|
||||
public void ofWhenContainsSlashThrowsException() {
|
||||
assertThatIllegalArgumentException().isThrownBy(() -> EndpointId.of("foo/bar"))
|
||||
.withMessage("Value must only contain valid chars");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user