jdaugherty commented on code in PR #14668:
URL: https://github.com/apache/grails-core/pull/14668#discussion_r2058741165


##########
grails-test-suite-uber/src/test/groovy/grails/test/mixin/GroovyPageUnitTestMixinWithCustomViewDirSpec.groovy:
##########
@@ -35,6 +35,6 @@ class GroovyPageUnitTestMixinWithCustomViewDirSpec extends 
Specification impleme
         def result = render(template: '/demo/myTemplate')
         
         then:
-        result == '\nthis is a custom template'
+        result.contains('this is a custom template')

Review Comment:
   Should we just call trim() and compare the resulting string instead?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to