소스 검색

Mirrored Ben's FilterChainProxy.java 1.5 spelling fix to its corresponding test class, which depended on equality of the exception message. All JUnit tests pass now.

Scott McCrory 20 년 전
부모
커밋
891cd7380c
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      core/src/test/java/org/acegisecurity/util/FilterChainProxyTests.java

+ 2 - 1
core/src/test/java/org/acegisecurity/util/FilterChainProxyTests.java

@@ -69,7 +69,8 @@ public class FilterChainProxyTests extends TestCase {
             filterChainProxy.afterPropertiesSet();
             fail("Should have thrown IllegalArgumentException");
         } catch (IllegalArgumentException expected) {
-            assertEquals("FilterChainProxy requires the FitlerInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()",
+        	System.out.println(expected.getMessage());
+            assertEquals("Exception message mismatch", "FilterChainProxy requires the FilterInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()",
                 expected.getMessage());
         }
     }