Fix typos in test code
This commit fixes typos in test class names, test method names, and test variable names. Closes gh-28807
This commit is contained in:
@@ -29,7 +29,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
* @author Phillip Webb
|
||||
* @since 5.2
|
||||
*/
|
||||
class AnnotationBackCompatibiltyTests {
|
||||
class AnnotationBackCompatibilityTests {
|
||||
|
||||
@Test
|
||||
void multiplRoutesToMetaAnnotation() {
|
||||
@@ -120,7 +120,7 @@ class AnnotationsScannerTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
void inheritedAnnotationsStrategyOnClassWhenHasAnnotationOnBothClassesIncudesOnlyOne() {
|
||||
void inheritedAnnotationsStrategyOnClassWhenHasAnnotationOnBothClassesIncludesOnlyOne() {
|
||||
Class<?> source = WithSingleSuperclassAndDoubleInherited.class;
|
||||
assertThat(Arrays.stream(source.getAnnotations()).map(
|
||||
Annotation::annotationType).map(Class::getName)).containsExactly(
|
||||
|
||||
@@ -242,7 +242,7 @@ public class StandardEnvironmentTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
void getActiveProfiles_fromSystemProperties_withMulitpleProfiles_withWhitespace() {
|
||||
void getActiveProfiles_fromSystemProperties_withMultipleProfiles_withWhitespace() {
|
||||
System.setProperty(ACTIVE_PROFILES_PROPERTY_NAME, " bar , baz "); // notice whitespace
|
||||
assertThat(environment.getActiveProfiles()).contains("bar", "baz");
|
||||
System.clearProperty(ACTIVE_PROFILES_PROPERTY_NAME);
|
||||
|
||||
Reference in New Issue
Block a user