mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Fix typo
This commit is contained in:
parent
7848cf3c79
commit
23b377e1a1
@ -51,22 +51,22 @@ class WebOperationRequestPredicateTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
void predicatesWithSinglePathVariablesInTheSamplePlaceAreEqual() {
|
||||
void predicatesWithSinglePathVariablesInTheSamePlaceAreEqual() {
|
||||
assertThat(predicateWithPath("/path/{foo1}")).isEqualTo(predicateWithPath("/path/{foo2}"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void predicatesWithSingleWildcardPathVariablesInTheSamplePlaceAreEqual() {
|
||||
void predicatesWithSingleWildcardPathVariablesInTheSamePlaceAreEqual() {
|
||||
assertThat(predicateWithPath("/path/{*foo1}")).isEqualTo(predicateWithPath("/path/{*foo2}"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void predicatesWithSingleWildcardPathVariableAndRegularVariableInTheSamplePlaceAreNotEqual() {
|
||||
void predicatesWithSingleWildcardPathVariableAndRegularVariableInTheSamePlaceAreNotEqual() {
|
||||
assertThat(predicateWithPath("/path/{*foo1}")).isNotEqualTo(predicateWithPath("/path/{foo2}"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void predicatesWithMultiplePathVariablesInTheSamplePlaceAreEqual() {
|
||||
void predicatesWithMultiplePathVariablesInTheSamePlaceAreEqual() {
|
||||
assertThat(predicateWithPath("/path/{foo1}/more/{bar1}"))
|
||||
.isEqualTo(predicateWithPath("/path/{foo2}/more/{bar2}"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user