Code test more uniformly w.r.t. optional parens

Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/0028c83b
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/0028c83b
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/0028c83b

Branch: refs/heads/master
Commit: 0028c83b54189c15f559b6b5913634eded275632
Parents: f576d28
Author: Howard M. Lewis Ship <[email protected]>
Authored: Mon Jun 11 13:24:29 2012 -0700
Committer: Howard M. Lewis Ship <[email protected]>
Committed: Mon Jun 11 13:24:29 2012 -0700

----------------------------------------------------------------------
 .../clojure/tests/AnnotationMapperSpec.groovy      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0028c83b/tapestry-clojure/src/test/groovy/org/apache/tapestry5/clojure/tests/AnnotationMapperSpec.groovy
----------------------------------------------------------------------
diff --git 
a/tapestry-clojure/src/test/groovy/org/apache/tapestry5/clojure/tests/AnnotationMapperSpec.groovy
 
b/tapestry-clojure/src/test/groovy/org/apache/tapestry5/clojure/tests/AnnotationMapperSpec.groovy
index b70946a..b3fd500 100644
--- 
a/tapestry-clojure/src/test/groovy/org/apache/tapestry5/clojure/tests/AnnotationMapperSpec.groovy
+++ 
b/tapestry-clojure/src/test/groovy/org/apache/tapestry5/clojure/tests/AnnotationMapperSpec.groovy
@@ -46,7 +46,7 @@ class AnnotationMapperSpec extends Specification {
 
     when:
 
-    def method = MyInterface.methods.find() { it.name == "alpha" }
+    def method = MyInterface.methods.find { it.name == "alpha" }
 
     then:
 

Reply via email to