This is an automated email from the ASF dual-hosted git repository.

bdemers pushed a commit to branch aop-1-10-x
in repository https://gitbox.apache.org/repos/asf/shiro.git

commit b5a7c0c0f496626c5ccfa071f784e24f96f1983d
Author: George CAO <[email protected]>
AuthorDate: Fri Oct 7 17:11:29 2022 +0800

    Fix typos in unit tests
---
 .../spring/boot/autoconfigure/AspectjAndDefaultProxyCreatorTest.java    | 2 +-
 .../autoconfigure/ShiroAnnotationProcessorAutoConfigurationTest.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/support/spring-boot/spring-boot-starter/src/test/groovy/org/apache/shiro/spring/boot/autoconfigure/AspectjAndDefaultProxyCreatorTest.java
 
b/support/spring-boot/spring-boot-starter/src/test/groovy/org/apache/shiro/spring/boot/autoconfigure/AspectjAndDefaultProxyCreatorTest.java
index 91146bb7..b2e405b0 100644
--- 
a/support/spring-boot/spring-boot-starter/src/test/groovy/org/apache/shiro/spring/boot/autoconfigure/AspectjAndDefaultProxyCreatorTest.java
+++ 
b/support/spring-boot/spring-boot-starter/src/test/groovy/org/apache/shiro/spring/boot/autoconfigure/AspectjAndDefaultProxyCreatorTest.java
@@ -50,7 +50,7 @@ public class AspectjAndDefaultProxyCreatorTest {
             assertNotNull(creator);
             if (!(creator instanceof DefaultAdvisorAutoProxyCreator
                     || creator instanceof 
AnnotationAwareAspectJAutoProxyCreator)) {
-                fail("It supposed to be one of these two types olny.");
+                fail("It supposed to be one of these two types only.");
             }
         }
         String[] beanNames = 
applicationContext.getBeanNamesForType(AbstractAdvisorAutoProxyCreator.class);
diff --git 
a/support/spring-boot/spring-boot-starter/src/test/groovy/org/apache/shiro/spring/boot/autoconfigure/ShiroAnnotationProcessorAutoConfigurationTest.java
 
b/support/spring-boot/spring-boot-starter/src/test/groovy/org/apache/shiro/spring/boot/autoconfigure/ShiroAnnotationProcessorAutoConfigurationTest.java
index 2a33f2a1..fad98549 100644
--- 
a/support/spring-boot/spring-boot-starter/src/test/groovy/org/apache/shiro/spring/boot/autoconfigure/ShiroAnnotationProcessorAutoConfigurationTest.java
+++ 
b/support/spring-boot/spring-boot-starter/src/test/groovy/org/apache/shiro/spring/boot/autoconfigure/ShiroAnnotationProcessorAutoConfigurationTest.java
@@ -44,7 +44,7 @@ public class ShiroAnnotationProcessorAutoConfigurationTest {
         //  There is only one proxy creator, and it's 
AnnotationAwareAspectJAutoProxyCreator as expected.
         Object creator = 
applicationContext.getBean(AopConfigUtils.AUTO_PROXY_CREATOR_BEAN_NAME);
         if (!(creator instanceof AnnotationAwareAspectJAutoProxyCreator)) {
-            fail("@EnableAspectJAutoProxy will create in instance of 
AnnotationAwareAspectJAutoProxyCreator");
+            fail("@EnableAspectJAutoProxy will create an instance of 
AnnotationAwareAspectJAutoProxyCreator");
         }
         String[] names = 
applicationContext.getBeanNamesForType(AbstractAdvisorAutoProxyCreator.class);
         assertEquals(1, names.length);

Reply via email to