Closed akh2008 closed 3 years ago
Please add test case.
Added the testcase. Please have a look.
Starting Vader: 1 suite(s), 6 case(s) Starting Vader: /Users/akhilkum/.vim/bundle/critiq.vim/test/diff.vader (1/6) [EXECUTE] simple parsing (2/6) [EXECUTE] extra line break (3/6) [EXECUTE] file index (4/6) [EXECUTE] multi chunk file diffs (5/6) [EXECUTE] file add diffs (6/6) [EXECUTE] file remove diffs Success/Total: 6/6 Success/Total: 6/6 (assertions: 16/16) Elapsed time: 0.08 sec.
diff parser missing the special case seen when diff contains the .gitignore file changes. This is very special case. So added the special hunk rather than modifying the regex.