Commit a5dc004e authored by Phillip Webb's avatar Phillip Webb

Merge branch '2.0.x'

parents 6765afa1 cd1c2638
...@@ -41,8 +41,8 @@ public class EndpointIdTests { ...@@ -41,8 +41,8 @@ public class EndpointIdTests {
} }
@Test @Test
public void ofWhenContainsInvalidCharThrowsException() { public void ofWhenContainsSlashThrowsException() {
assertThatIllegalArgumentException().isThrownBy(() -> EndpointId.of("foo!bar")) assertThatIllegalArgumentException().isThrownBy(() -> EndpointId.of("foo/bar"))
.withMessage("Value must only contain valid chars"); .withMessage("Value must only contain valid chars");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment