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:
Marc Wrobel
2022-07-12 20:11:17 +02:00
committed by Sam Brannen
parent 2e4d7e4ef9
commit bd3499671c
19 changed files with 32 additions and 32 deletions

View File

@@ -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() {

View File

@@ -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(

View File

@@ -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);