blob: 9505d64697b399b24de269b1dbac96a88059e246 [file] [log] [blame]
/**
* @author Robert Fuller
* @version $Revision$
*/
class ByteIndexBug extends GroovyTestCase {
void testBug() {
sb = new StringBuffer("<<<FOO\n")
for (j in 0..127){ // 126 is okay.
sb.append('$').append("{x}")
}
sb.append("\nFOO\n")
b = new Binding(x:null)
new GroovyShell(b).evaluate(sb.toString(),"foo")
}
}