matrei commented on code in PR #14876:
URL: https://github.com/apache/grails-core/pull/14876#discussion_r2187619267


##########
grails-test-examples/app2/src/integration-test/groovy/app2/ErrorsControllerSpec.groovy:
##########
@@ -31,10 +31,10 @@ class ErrorsControllerSpec extends ContainerGebSpec {
 
     void "Test a global 500 mapping that maps to another controller"() {
         when: "An action that throws a error that is handled by a 500 mapping 
in UrlMappings.groovy"
-        go '/test/throwGeneralError'
+        go('/test/throwGeneralError')
 
         then: "The correct action is executed"
-        driver.pageSource.contains 'my error occurred'
+        pageSource.contains 'my error occurred'

Review Comment:
   Align on parentheses for method calls?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@grails.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to