trufflehog
trufflehog copied to clipboard
Add test case to gitparse that previously caused a panic
Adds a test case to gitparse that caused a panic which was fixed by #1570
Tested and the #1570 fix handles this. It looked to me like it shouldn't miss anything at first glance. If currentDiff
is nil
, then it shouldn't be able to exceed the max diff side, unless I'm overlooking something.