---
source: src/patch/parse.rs
expression: patches
input_file: src/patch/test-data/nested.patch
---
Ok(
    [
        Patch {
            original: Some(
                Filename(
                    "src/lib/hello.txt",
                ),
            ),
            modified: Some(
                Filename(
                    "src/lib/hello.txt",
                ),
            ),
            hunks: [
                Hunk {
                    old_range: HunkRange {
                        start: 0,
                        len: 0,
                    },
                    new_range: HunkRange {
                        start: 1,
                        len: 1,
                    },
                    function_context: None,
                    lines: [
                        Insert(
                            "hello world\n",
                        ),
                    ],
                },
            ],
        },
    ],
)
