mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fix common typos and grammatical mistakes
Closes gh-36471
(cherry picked from commit 5eb0e99d58)
This commit is contained in:
+2
-2
@@ -310,7 +310,7 @@ class SetValueTests extends AbstractExpressionTests {
|
||||
if (DEBUG) {
|
||||
SpelUtilities.printAbstractSyntaxTree(System.out, e);
|
||||
}
|
||||
assertThat(e.isWritable(context)).as("Expression is not writeable but should be").isTrue();
|
||||
assertThat(e.isWritable(context)).as("Expression is not writable but should be").isTrue();
|
||||
e.setValue(context, value);
|
||||
assertThat(e.getValue(context, expectedType)).as("Retrieved value was not equal to set value").isEqualTo(value);
|
||||
}
|
||||
@@ -330,7 +330,7 @@ class SetValueTests extends AbstractExpressionTests {
|
||||
if (DEBUG) {
|
||||
SpelUtilities.printAbstractSyntaxTree(System.out, e);
|
||||
}
|
||||
assertThat(e.isWritable(context)).as("Expression is not writeable but should be").isTrue();
|
||||
assertThat(e.isWritable(context)).as("Expression is not writable but should be").isTrue();
|
||||
e.setValue(context, value);
|
||||
assertThat(expectedValue).isEqualTo(e.getValue(context));
|
||||
}
|
||||
|
||||
+3
-3
@@ -186,11 +186,11 @@ class ReflectionHelperTests extends AbstractExpressionTests {
|
||||
// Passing (Super) on call to (Sub[]) is not a match
|
||||
checkMatchVarargs(new Class<?>[] {Super.class}, new Class<?>[] {Sub[].class}, tc, null);
|
||||
|
||||
checkMatchVarargs(new Class<?>[] {Unconvertable.class, String.class}, new Class<?>[] {Sub.class, Super[].class}, tc, null);
|
||||
checkMatchVarargs(new Class<?>[] {Unconvertible.class, String.class}, new Class<?>[] {Sub.class, Super[].class}, tc, null);
|
||||
|
||||
checkMatchVarargs(new Class<?>[] {Integer.class, Integer.class, String.class}, new Class<?>[] {String.class, String.class, Super[].class}, tc, null);
|
||||
|
||||
checkMatchVarargs(new Class<?>[] {Unconvertable.class, String.class}, new Class<?>[] {Sub.class, Super[].class}, tc, null);
|
||||
checkMatchVarargs(new Class<?>[] {Unconvertible.class, String.class}, new Class<?>[] {Sub.class, Super[].class}, tc, null);
|
||||
|
||||
checkMatchVarargs(new Class<?>[] {Integer.class, Integer.class, String.class}, new Class<?>[] {String.class, String.class, Super[].class}, tc, null);
|
||||
|
||||
@@ -519,7 +519,7 @@ class ReflectionHelperTests extends AbstractExpressionTests {
|
||||
}
|
||||
|
||||
|
||||
static class Unconvertable {
|
||||
static class Unconvertible {
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user