Sign in
apache
/
groovy
/
refs/tags/GROOVY_1_1_BETA_3
/
.
/
groovy-core
/
src
/
test
/
gls
/
syntax
/
AssertTest.groovy
blob: 6e084386e2a8cb562abc680da42b283dc89f650b [
file
] [
log
] [
blame
]
package
gls
.
syntax
public
class
AssertTest
extends
gls
.
CompilableTestSupport
{
void
testAssignment
()
{
// don't allow "=" here, it most certainly must be a "=="
shouldNotCompile
"""
def a = 1
assert a = 2
"""
}
}