You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2011/05/28 20:42:39 UTC

svn commit: r1128738 - /tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/internal/pageload/ComponentResourceSelectorTests.groovy

Author: hlship
Date: Sat May 28 18:42:38 2011
New Revision: 1128738

URL: http://svn.apache.org/viewvc?rev=1128738&view=rev
Log:
Reformat test code

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/internal/pageload/ComponentResourceSelectorTests.groovy

Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/internal/pageload/ComponentResourceSelectorTests.groovy
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/internal/pageload/ComponentResourceSelectorTests.groovy?rev=1128738&r1=1128737&r2=1128738&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/internal/pageload/ComponentResourceSelectorTests.groovy (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/internal/pageload/ComponentResourceSelectorTests.groovy Sat May 28 18:42:38 2011
@@ -27,17 +27,17 @@ class ComponentResourceSelectorTests ext
     @Test
     void mismatch_if_locales_not_same() {
         assert english != french
-}
+    }
 
     @Test
     void equals_this_is_true() {
-        assert  english == english
-}
+        assert english == english
+    }
 
     @Test
     void equals_null_is_false() {
         assert english != null
-}
+    }
 
     @Test
     void with_axis_returns_new_instance() {
@@ -48,7 +48,7 @@ class ComponentResourceSelectorTests ext
         assert english.getAxis(AnnotationUseContext.class) == null
 
         assert withAxis.getAxis(AnnotationUseContext.class).is(AnnotationUseContext.SERVICE)
-}
+    }
 
     @Test
     void cant_add_same_axis_type_again() {
@@ -57,7 +57,7 @@ class ComponentResourceSelectorTests ext
 
         try {
             withAxis.withAxis(AnnotationUseContext.class, AnnotationUseContext.COMPONENT)
-}
+        }
         catch (IllegalArgumentException ex) {
             assert ex.message == "Axis type org.apache.tapestry5.ioc.annotations.AnnotationUseContext is already specified as SERVICE."
         }