Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

GRAILS-5767 - update test to be consistent with recent GroovyPagePars…

…er changes
  • Loading branch information...
commit 3f4548cb28ed3617f8ace855aee8844dc02513be 1 parent 01230e1
@jeffbrown jeffbrown authored
View
4 grails/src/test/org/codehaus/groovy/grails/web/pages/ParseTests.java
@@ -312,9 +312,9 @@ public void testMetaWithGStringAttribute() throws Exception {
"def out = binding.out\n"+
"registerSitemeshPreprocessMode(request)\n"+
"printHtmlPart(0)\n"+
- "body1 = new GroovyPageTagBody(this,binding.webRequest) {\n"+
+ "body1 = new GroovyPageTagBody(this,binding.webRequest, {\n"+
"invokeTag('captureMeta','sitemesh',1,['gsp_sm_xmlClosingForEmptyTag':evaluate('\"/\"', 1, it) { return \"/\" },'name':evaluate('\"SomeName\"', 1, it) { return \"SomeName\" },'content':evaluate('\"${grailsApplication.config.myFirstConfig}/something/${someVar}\"', 1, it) { return \"${grailsApplication.config.myFirstConfig}/something/${someVar}\" }] as GroovyPageAttributes,null)\n"+
- "}\n"+
+ "})\n"+
"invokeTag('captureHead','sitemesh',1,[:],body1)\n"+
"printHtmlPart(1)\n"+
"}\n"+ GSP_FOOTER;
Please sign in to comment.
Something went wrong with that request. Please try again.