This is an automated email from the ASF dual-hosted git repository. jonnybot pushed a commit to branch task/fix-codenarc-errors in repository https://gitbox.apache.org/repos/asf/groovy-geb.git
commit df195af877eca61aa9ed56d5d8f5f75e392b7162 Author: Jonny Carter <[email protected]> AuthorDate: Mon Dec 23 10:29:27 2024 -0600 Fix codenarc space error --- .../real-browser/src/test/groovy/javascript/JQuerySupportSpec.groovy | 4 ++-- module/geb-core/src/test/groovy/geb/PageOrientedSpec.groovy | 2 +- .../groovy/geb/navigator/EdgeIncompatibleSelectControlSpec.groovy | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/manual-snippets/real-browser/src/test/groovy/javascript/JQuerySupportSpec.groovy b/doc/manual-snippets/real-browser/src/test/groovy/javascript/JQuerySupportSpec.groovy index 0ad32191..fb4ff468 100644 --- a/doc/manual-snippets/real-browser/src/test/groovy/javascript/JQuerySupportSpec.groovy +++ b/doc/manual-snippets/real-browser/src/test/groovy/javascript/JQuerySupportSpec.groovy @@ -36,7 +36,7 @@ class JQuerySupportSpec extends GebSpecWithServerUsingJavascript { } else { response.contentType = ContentType.TEXT_HTML.toString() response.writer << ''' - //tag::html[] + // tag::html[] <html> <head> <script type="text/javascript" src="/js/jquery-2.1.4.min.js"></script> @@ -53,7 +53,7 @@ class JQuerySupportSpec extends GebSpecWithServerUsingJavascript { <div id="b" style="display:none;"><a href="http://www.gebish.org">Geb!</a></div> </body> </html> - //end::html[] + // end::html[] ''' } } diff --git a/module/geb-core/src/test/groovy/geb/PageOrientedSpec.groovy b/module/geb-core/src/test/groovy/geb/PageOrientedSpec.groovy index 74f67a79..e4a83d2c 100644 --- a/module/geb-core/src/test/groovy/geb/PageOrientedSpec.groovy +++ b/module/geb-core/src/test/groovy/geb/PageOrientedSpec.groovy @@ -599,7 +599,7 @@ class PageWithAtCheckerThrowingException extends Page { } class PageWithAtCheckerReturningFalse extends Page { - //this circumvents implicit assertion AST transformation + // this circumvents implicit assertion AST transformation static atChecker = { false } static at = atChecker } diff --git a/module/geb-core/src/test/groovy/geb/navigator/EdgeIncompatibleSelectControlSpec.groovy b/module/geb-core/src/test/groovy/geb/navigator/EdgeIncompatibleSelectControlSpec.groovy index 2465218c..36681e9a 100644 --- a/module/geb-core/src/test/groovy/geb/navigator/EdgeIncompatibleSelectControlSpec.groovy +++ b/module/geb-core/src/test/groovy/geb/navigator/EdgeIncompatibleSelectControlSpec.groovy @@ -24,7 +24,7 @@ import geb.test.browsers.Firefox import geb.test.browsers.InternetExplorer import geb.test.browsers.Safari -//Some functionality around multiselect seems not to work in Edge +// Some functionality around multiselect seems not to work in Edge @Chrome @Firefox @InternetExplorer
