Merge branch '2.0.x'
This commit is contained in:
commit
aa6a58d24c
|
@ -600,6 +600,15 @@ public class ConfigurationPropertyNameTests {
|
|||
assertThat((Object) n14).isNotEqualTo(n15);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void equalsWhenStartsWith() {
|
||||
// gh-14665
|
||||
ConfigurationPropertyName n1 = ConfigurationPropertyName.of("my.sources[0].xame");
|
||||
ConfigurationPropertyName n2 = ConfigurationPropertyName
|
||||
.of("my.sources[0].xamespace");
|
||||
assertThat(n1).isNotEqualTo(n2);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void isValidWhenValidShouldReturnTrue() {
|
||||
assertThat(ConfigurationPropertyName.isValid("")).isTrue();
|
||||
|
|
Loading…
Reference in New Issue