Sign in
apache
/
groovy
/
4ce380cda5b437999726dfd041cb1b0781e91ec9
/
.
/
groovy
/
modules
/
classic
/
src
/
test
/
groovy
/
DollarEscapingTest.groovy
blob: 5f946f353602752e539787acc5161c7347d26139 [
file
] [
log
] [
blame
]
class
DollarEscapingTest
extends
GroovyTestCase
{
void
testEscaping
()
{
foo
=
"hello \${foo}"
assert
foo
instanceof
String
c
=
foo
.
count
(
"$"
)
assert
c
==
1
:
foo
}
}