Anyone please help me correct the assertion error in coala/coala-bears#2253 I am not able to find what's going wrong here. The test I have written is similar to other tests in Jinja2BearTest.py but still it fails due to wrong indexing.
Regarding coala/coala-bears#2253 I followed what you suggested and checked the code I wrote both in the bear as well as in the test file. Despite trying a lot of different changes, the assertion error still remains. Can you please help me with this? @ishanSrt
@kriti21 did you look at LocalBearTestHelper.py, method check_results method
Try to narrow down why the bear_output is not matching the results you are asserting against
since it wasn’t failing before, clearly its either due to the changes you made or you are asserting against the wrong things
ok its definitely due to some changes you made in the Jinja2Bear. Now check whether that result was expected or not. If yes, then your assert statement in written incorrectly, if not then you have made the wrong changes in Jinja2Bear