Merge branch '2.0.x'

This commit is contained in:
Phillip Webb 2018-10-15 15:43:31 -07:00
commit a5dc004e0b
1 changed files with 2 additions and 2 deletions

View File

@ -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");
}