Add test for GH-1089.
Add test for GH-1089.

crivas/jshint,alivesay/jshint,lukeapage/jshint,yyx990803/jshint,Endika/jshint,doggy8088/jshint,wzup/jshint,ecomfe/edp-jshint,wzup/jshint,llucbrell/jshint,beni55/jshint,ghtest712/bearded-octo-dangerzone,laurensortiz/jshint,louwers/jshint,nitinlal/jshint,kidaa/jshint,marian-r/jshint,niedzielski/jshint,crivas/jshint,nitinlal/jshint,beni55/jshint,niedzielski/jshint,Jeremy017/jshint,jagdeesh109/jshint,shreyasgaonkar/jshint,behind2/jshint,rwaldron/jshint,stevemao/jshint,supriyantomaftuh/jshint,jugglinmike/jshint,zynick/jshint,mohsen1/jshint,elkingtonmcb/jshint,Joy603/jshint,max789/jshint,davidjb/jshint,jonnyreeves/jshint,ThiagoGarciaAlves/jshint,elkingtonmcb/jshint,luisbrito/jshint,supriyantomaftuh/jshint,thomas658/jshint,shreyasgaonkar/jshint,Endika/jshint,paul-wade/jshint,scottsmeester/jshint,gtanner/jshint,marian-r/jshint,Khan/jshint,nicolo-ribaudo/jshint,stevemao/jshint,fairfieldt/jshint,cnbin/jshint,Joy603/jshint,pansay/jshint,fashionsun/jshint,mrjoelkemp/jshint,gameclosure/jsiohint,jshint/jshint,BridgeAR/jshint,Jeremy017/jshint,luisbrito/jshint,llucbrell/jshint,paladox/jshint,SqrTT/dwhint,ljharb/jshint,darongE/jshint,thomas658/jshint,yadimon/jshint,doggy8088/jshint,cnbin/jshint,louwers/jshint,max789/jshint,alivesay/jshint,behind2/jshint,n8io/jshint,mcanthony/jshint,ljharb/jshint,AndriiGro/jshint,yadimon/jshint,raix/jshint,freeyiyi1993/jshint,lovemeblender/jshint,mcanthony/jshint,aisk/jshint,meh-uk/jshint,silverwind/jshint,aisk/jshint,nicolo-ribaudo/jshint,laurensortiz/jshint,BridgeAR/jshint,AndriiGro/jshint,kangax/jshint,jagdeesh109/jshint,jshint/jshint,mrjoelkemp/jshint,gtanner/jshint,scottsmeester/jshint,paragag/AntiRedis,fashionsun/jshint,freeyiyi1993/jshint,gloryknight/jshint,pansay/jshint,wisavalite/jshint,lukeapage/jshint,mohsen1/jshint,davidjb/jshint,paul-wade/jshint,kidaa/jshint,jugglinmike/jshint,wisavalite/jshint,n8io/jshint