Skip to content

Commit 038de1e

Browse files
committed
Fix test
1 parent c999851 commit 038de1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/config/StandardConfigDataLocationResolverTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ void resolveProfileSpecificWhenProfileContainsInvalidCharactersThrowsException()
360360
assertThatIllegalStateException()
361361
.isThrownBy(() -> this.resolver.resolveProfileSpecific(this.context, location, profiles))
362362
.withMessageStartingWith(
363-
"Invalid profile 'dev*test': must only contain alphanumeric characters, '-', or '_'");
363+
"Invalid profile 'dev*test': must contain only letters or digits or '-' or '_'");
364364
}
365365

366366
private String filePath(String... components) {

0 commit comments

Comments
 (0)