Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Simple renames makes diff be parsed incorreclty #185

Closed
@machadoit

Description

@machadoit

Describe the bug
If there is a simple rename in the middle of the file, the parser will keep consuming information from the next diff command

To Reproduce
Change one of the test case for renames to have a simple rename as showcased here #184

Expected behavior
The test should still have the same number of UnifiedDiffFile elements, and not having a UnifiedDiffFile that will consist of a mix of multiple diff blocks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions