Skip to content

Commit 42d4890

Browse files
Fix typos (#4545)
1 parent 2bc4a71 commit 42d4890

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

documentation/src/docs/asciidoc/user-guide/writing-tests.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2042,7 +2042,7 @@ translates to a `Collection`, an `Iterable`, a `Supplier` of a stream (`Stream`,
20422042
objects or primitives, or any type that provides an `iterator(): Iterator` method (such
20432043
as, for example, a `kotlin.sequences.Sequence`). Each set of "arguments" within the
20442044
"stream" can be supplied as an instance of `Arguments`, an array of objects (for example,
2045-
`Object[]`, `String[]`, etc.), or a single value if the parameterized class ortest method accepts
2045+
`Object[]`, `String[]`, etc.), or a single value if the parameterized class or test method accepts
20462046
a single argument.
20472047

20482048
[WARNING]

jupiter-tests/src/test/java/org/junit/jupiter/engine/OverloadedTestMethodTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void executeTestCaseWithOverloadedMethodsAndThenRerunOnlyOneOfTheMethodsSelected
5353
}
5454

5555
@Test
56-
void executeTestCaseWithOverloadedMethodsWithSingleMethodThatAcceptsArgumentsSelectedByFullyQualifedMethodName() {
56+
void executeTestCaseWithOverloadedMethodsWithSingleMethodThatAcceptsArgumentsSelectedByFullyQualifiedMethodName() {
5757
String fqmn = TestCase.class.getName() + "#test(" + TestInfo.class.getName() + ")";
5858
Events tests = executeTests(selectMethod(fqmn)).testEvents();
5959

jupiter-tests/src/test/java/org/junit/jupiter/params/provider/CsvArgumentsProviderTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ void understandsEscapeCharacters() {
185185
}
186186

187187
@Test
188-
void understandsEscapeCharactersWithCutomQuoteCharacter() {
188+
void understandsEscapeCharactersWithCustomQuoteCharacter() {
189189
var annotation = csvSource().quoteCharacter('~').lines("~foo or ~~bar~~~, baz").build();
190190

191191
var arguments = provideArguments(annotation);

platform-tests/src/test/java/org/junit/platform/commons/util/ReflectionUtilsTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1768,7 +1768,7 @@ void findMethodsDoesNotReturnOverriddenMethods() {
17681768
}
17691769

17701770
@Test
1771-
void findMethodsReturnsAllOverloadedMethodsInGenericTypeHieararchy() {
1771+
void findMethodsReturnsAllOverloadedMethodsInGenericTypeHierarchy() {
17721772
Class<?> clazz = InterfaceWithGenericDefaultMethodImpl.class;
17731773

17741774
// Search for all foo(*) methods.
@@ -2058,7 +2058,7 @@ void readFieldValuesFromClass() {
20582058
* @since 1.11
20592059
*/
20602060
@Test
2061-
void readFieldValuesFromInteracesAndClassesInTypeHierarchy() {
2061+
void readFieldValuesFromInterfacesAndClassesInTypeHierarchy() {
20622062
var fields = findFields(InterfaceWithField.class, ReflectionUtils::isStatic, TOP_DOWN);
20632063
var values = readFieldValues(fields, null);
20642064
assertThat(values).containsOnly("ifc");

platform-tests/src/test/java/org/junit/platform/engine/UniqueIdTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ void retrievingOptionalEngineId() {
6161
var uniqueIdWithEngine = UniqueId.forEngine(ENGINE_ID);
6262
assertThat(uniqueIdWithEngine.getEngineId()).contains("junit-jupiter");
6363

64-
var uniqueIdWithoutEngine = UniqueId.root("root", "avalue");
64+
var uniqueIdWithoutEngine = UniqueId.root("root", "aValue");
6565
assertEquals(Optional.empty(), uniqueIdWithoutEngine.getEngineId());
6666
}
6767

0 commit comments

Comments
 (0)