diff --git a/test/tickets/LDEV5065.cfc b/test/tickets/LDEV5065.cfc new file mode 100644 index 0000000000..3ae3c56515 --- /dev/null +++ b/test/tickets/LDEV5065.cfc @@ -0,0 +1,30 @@ +component extends="org.lucee.cfml.test.LuceeTestCase" { + + function run( testResults , testBox ) { + describe( "Test suite for LDEV-5065", function() { + + it( title='assignment regression', body=function( currentSpec ) { + var brad=5; + writeDump( var=( brad=4) ); + }); + + it( title='assignment regression', body=function( currentSpec ) { + var brad=5; + writeDump( ( brad+=4) ); + }); + + it( title='assignment regression', body=function( currentSpec ) { + var brad=5; + writeDump( var=( brad+=4) ); + }); + + it( title='assignment regression', body=function( currentSpec ) { + var brad=5; + writeDump( var=( brad=4) ); + writeDump( ( brad+=4) ); + writeDump( var=( brad+=4) ); + }); + }); + } + +}