From cd1c2638e5fbe2731c27bd87b80e91f5d1a84a3d Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 15 Oct 2018 15:41:55 -0700 Subject: [PATCH] Polish --- .../springframework/boot/actuate/endpoint/EndpointIdTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/EndpointIdTests.java b/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/EndpointIdTests.java index 5f55b63499..e80876f368 100644 --- a/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/EndpointIdTests.java +++ b/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/EndpointIdTests.java @@ -47,7 +47,7 @@ public class EndpointIdTests { } @Test - public void ofWhenContainsInvalidCharThrowsException() { + public void ofWhenContainsSlashThrowsException() { this.thrown.expect(IllegalArgumentException.class); this.thrown.expectMessage("Value must only contain valid chars"); EndpointId.of("foo/bar");