Sign in
apache
/
groovy
/
67cce94e9c08bbf3a4f7611aec65e50c8e8d014b
/
.
/
groovy
/
src
/
test
/
groovy
/
xml
/
UseMarkupWithWriterScript.groovy
blob: 5d01a94b556a07fa787de7abcc86ae3f01bae9f6 [
file
] [
log
] [
blame
]
// used by MarkupWithWriterTest.testWriterUseInScriptFile
writer
=
new
java
.
io
.
StringWriter
()
b
=
new
groovy
.
xml
.
MarkupBuilder
(
writer
)
b
.
root1
(
a
:
5
)
println writer
.
toString
()
assert
"<root1 a='5' />"
==
writer
.
toString
()