Fix typo in ReflectionUtilsTests

Closes gh-24344
This commit is contained in:
Qimiao Chen
2020-01-13 23:27:05 +08:00
committed by Sam Brannen
parent cbc57460b7
commit c84dd55863

View File

@@ -362,7 +362,7 @@ class ReflectionUtilsTests {
}
@Test
void getDecalredMethodsReturnsCopy() {
void getDeclaredMethodsReturnsCopy() {
Method[] m1 = ReflectionUtils.getDeclaredMethods(A.class);
Method[] m2 = ReflectionUtils.getDeclaredMethods(A.class);
assertThat(m1). isNotSameAs(m2);