You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2020/07/28 03:24:02 UTC
[groovy] branch GROOVY_3_0_X updated: formatting
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
new 7bdf3d5 formatting
7bdf3d5 is described below
commit 7bdf3d56cf501de084ef39baaad31ccdedfc85b0
Author: Paul King <pa...@asert.com.au>
AuthorDate: Tue Jul 28 13:23:55 2020 +1000
formatting
---
.../groovy-xml/src/test/groovy/groovy/xml/bugs/Groovy4285Bug.groovy | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/subprojects/groovy-xml/src/test/groovy/groovy/xml/bugs/Groovy4285Bug.groovy b/subprojects/groovy-xml/src/test/groovy/groovy/xml/bugs/Groovy4285Bug.groovy
index 3abcd31..e0d76b4 100644
--- a/subprojects/groovy-xml/src/test/groovy/groovy/xml/bugs/Groovy4285Bug.groovy
+++ b/subprojects/groovy-xml/src/test/groovy/groovy/xml/bugs/Groovy4285Bug.groovy
@@ -45,13 +45,13 @@ class Groovy4285Bug extends GroovyShellTestCase {
assertScript '''
import groovy.util.slurpersupport.NodeChild
import groovy.xml.XmlUtil
-
+
String xml = '<xml xmlns="http://example.com/ns"><abc><xyz>true</xyz></abc></xml>'
String name = 'abc'
-
+
NodeChild parsed = new XmlSlurper().parseText(xml)
def node = parsed."$name"
-
+
assert XmlUtil.serialize(node).contains('xyz>true</')
'''
}