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


##########
grails-test-examples/app1/src/integration-test/groovy/functionaltests/RedirectIntercetorSpec.groovy:
##########
@@ -30,9 +30,9 @@ class RedirectInterceptorSpec extends ContainerGebSpec {
 
     void "Test that an interceptor that redirects works"() {
         when:
-        go '/misc/interceptedByInterceptor'
+        go('/misc/interceptedByInterceptor')
 
         then:
-        driver.pageSource.contains 'Test' // the redirect worked
+        pageSource.contains 'Test' // the redirect worked

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