From 3c82e63dedb3f8b59d2b733f85b678794fe282c3 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Wed, 11 Sep 2013 15:10:20 -0700 Subject: [PATCH] Formatting cleanup --- .../http/MultiHttpBlockConfigTests.groovy | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/config/src/test/groovy/org/springframework/security/config/http/MultiHttpBlockConfigTests.groovy b/config/src/test/groovy/org/springframework/security/config/http/MultiHttpBlockConfigTests.groovy index 51622d4c02..84d787a31e 100644 --- a/config/src/test/groovy/org/springframework/security/config/http/MultiHttpBlockConfigTests.groovy +++ b/config/src/test/groovy/org/springframework/security/config/http/MultiHttpBlockConfigTests.groovy @@ -45,19 +45,20 @@ class MultiHttpBlockConfigTests extends AbstractHttpConfigTests { e.cause instanceof IllegalArgumentException } - def duplicatePatternsAreRejected () { - when: "Two elements with the same pattern are used" - xml.http(pattern: '/stateless/**', 'create-session': 'stateless') { - 'http-basic'() - } - xml.http(pattern: '/stateless/**') { - 'form-login'() - } - createAppContext() - then: - BeanCreationException e = thrown() - e.cause instanceof IllegalArgumentException - } + def duplicatePatternsAreRejected () { + when: "Two elements with the same pattern are used" + xml.http(pattern: '/stateless/**', 'create-session': 'stateless') { + 'http-basic'() + } + xml.http(pattern: '/stateless/**') { + 'form-login'() + } + createAppContext() + then: + BeanCreationException e = thrown() + e.cause instanceof IllegalArgumentException + } + def namedFilterChainIsExposedAsABean () {