BearRunnerTest: Fix invalid length check
BearRunnerTest: Fix invalid length check

https://github.com/sils1297/coala/issues/105

NalinG/coala,Balaji2198/coala,scriptnull/coala,scriptnull/coala,Tanmay28/coala,tushar-rishav/coala,yland/coala,shreyans800755/coala,impmihai/coala,MariosPanag/coala,tushar-rishav/coala,coala/coala,Nosferatul/coala,meetmangukiya/coala,coala-analyzer/coala,FeodorFitsner/coala,CruiseDevice/coala,Asnelchristian/coala,Asnelchristian/coala,rresol/coala,Asnelchristian/coala,swatilodha/coala,Uran198/coala,scottbelden/coala,scriptnull/coala,arush0311/coala,damngamerz/coala,NiklasMM/coala,NalinG/coala,rimacone/testing2,aptrishu/coala,CruiseDevice/coala,refeed/coala,Uran198/coala,Tanmay28/coala,sophiavanvalkenburg/coala,ManjiriBirajdar/coala,Nosferatul/coala,tltuan/coala,saurabhiiit/coala,NalinG/coala,arafsheikh/coala,d6e/coala,MattAllmendinger/coala,SambitAcharya/coala,scottbelden/coala,SambitAcharya/coala,ayushin78/coala,AbdealiJK/coala,Balaji2198/coala,SambitAcharya/coala,CruiseDevice/coala,andreimacavei/coala,FeodorFitsner/coala,AbdealiJK/coala,Tanmay28/coala,JohnS-01/coala,svsn2117/coala,nemaniarjun/coala,rimacone/testing2,Asalle/coala,jayvdb/coala,d6e/coala,kartikeys98/coala,stevemontana1980/coala,nemaniarjun/coala,SambitAcharya/coala,incorrectusername/coala,ayushin78/coala,yashtrivedi96/coala,arafsheikh/coala,ManjiriBirajdar/coala,jayvdb/coala,saurabhiiit/coala,SambitAcharya/coala,abhiroyg/coala,RJ722/coala,RJ722/coala,meetmangukiya/coala,abhiroyg/coala,FeodorFitsner/coala,MattAllmendinger/coala,Tanmay28/coala,kartikeys98/coala,ayushin78/coala,scriptnull/coala,kartikeys98/coala,aptrishu/coala,arafsheikh/coala,netman92/coala,sudheesh001/coala,svsn2117/coala,scriptnull/coala,Tanmay28/coala,aptrishu/coala,lonewolf07/coala,djkonro/coala,mr-karan/coala,Asalle/coala,tltuan/coala,incorrectusername/coala,impmihai/coala,stevemontana1980/coala,SanketDG/coala,andreimacavei/coala,Shade5/coala,yland/coala,netman92/coala,sagark123/coala,rresol/coala,karansingh1559/coala,rresol/coala,SambitAcharya/coala,arjunsinghy96/coala,NalinG/coala,SanketDG/coala,refeed/coala,mr-karan/coala,yashLadha/coala,AdeshAtole/coala,sils1297/coala,d6e/coala,AdeshAtole/coala,AdeshAtole/coala,refeed/coala,dagdaggo/coala,Tanmay28/coala,Shade5/coala,NiklasMM/coala,lonewolf07/coala,swatilodha/coala,tushar-rishav/coala,sils1297/coala,JohnS-01/coala,damngamerz/coala,tltuan/coala,SanketDG/coala,NalinG/coala,arush0311/coala,coala-analyzer/coala,yashtrivedi96/coala,incorrectusername/coala,Asalle/coala,NalinG/coala,andreimacavei/coala,sagark123/coala,meetmangukiya/coala,NiklasMM/coala,nemaniarjun/coala,coala/coala,lonewolf07/coala,RJ722/coala,jayvdb/coala,NalinG/coala,sils1297/coala,SambitAcharya/coala,abhiroyg/coala,arush0311/coala,djkonro/coala,svsn2117/coala,coala/coala,Uran198/coala,arjunsinghy96/coala,MariosPanag/coala,MattAllmendinger/coala,Nosferatul/coala,MariosPanag/coala,Shade5/coala,vinc456/coala,yashLadha/coala,swatilodha/coala,sudheesh001/coala,Tanmay28/coala,sudheesh001/coala,coala-analyzer/coala,dagdaggo/coala,vinc456/coala,shreyans800755/coala,dagdaggo/coala,mr-karan/coala,arjunsinghy96/coala,stevemontana1980/coala,JohnS-01/coala,yashLadha/coala,sophiavanvalkenburg/coala,Balaji2198/coala,AbdealiJK/coala,scriptnull/coala,netman92/coala,Tanmay28/coala,yland/coala,karansingh1559/coala,vinc456/coala,damngamerz/coala,yashtrivedi96/coala,rimacone/testing2,sagark123/coala,karansingh1559/coala,impmihai/coala,scottbelden/coala,sophiavanvalkenburg/coala,shreyans800755/coala,saurabhiiit/coala,scriptnull/coala,djkonro/coala,ManjiriBirajdar/coala