You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
com.github.difflib.unifieddiff.UnifiedDiffParserException: expected file start line not found
at com.github.difflib.unifieddiff.UnifiedDiffReader.parse(UnifiedDiffReader.java:93)
at com.github.difflib.unifieddiff.UnifiedDiffReader.parseUnifiedDiff(UnifiedDiffReader.java:144)
To Reproduce
Parse above data with:
InputStream reportContentStream = new ByteArrayInputStream(reportContent.getBytes(UTF_8));
UnifiedDiff parsedDiff = UnifiedDiffReader.parseUnifiedDiff(reportContentStream);
Describe the bug
I try to parse a patch-file, generated from git
git format-patch -1 <commit>
, with content:I get error like:
To Reproduce
Parse above data with:
Expected behavior
Not to crash
System
Relates to tomasbjerre/violations-lib#95
The text was updated successfully, but these errors were encountered: