Eureka/tools/fixtures/context-pack/spec.json
2026-11-07 13:32:48 +01:00

28 lines
2.5 KiB
JSON

{"kind": "cut_spec", "value": {
"campaign": "t", "cut": "x", "revision": 1, "base": "BASE", "deletes": [],
"file_changes": [
{"change": "moved below the insertion", "location": {"path": "a.txt", "line": 20, "end_line": 22}},
{"change": "insertion after the last line is outside", "location": {"path": "a.txt", "line": 3, "end_line": 5}},
{"change": "insertion just before the range", "location": {"path": "a.txt", "line": 6, "end_line": 7}},
{"change": "insertion inside the range", "location": {"path": "a.txt", "line": 4, "end_line": 8}},
{"change": "delete above and edit inside", "location": {"path": "b.txt", "line": 8, "end_line": 12}},
{"change": "moved up by a deletion", "location": {"path": "b.txt", "line": 30, "end_line": 31}},
{"change": "deleted file", "location": {"path": "c.txt", "line": 2, "end_line": 3}},
{"change": "renamed file", "location": {"path": "d.txt", "line": 4, "end_line": 5}},
{"change": "path absent at base", "location": {"path": "sub/a.txt", "line": 1, "end_line": 2}},
{"change": "range past EOF", "location": {"path": "e.txt", "line": 5, "end_line": 50}},
{"change": "uncommitted edit", "location": {"path": "f.txt", "line": 5, "end_line": 6}},
{"change": "last line is in range", "location": {"path": "e.txt", "line": 10, "end_line": 10}},
{"change": "one past the last line", "location": {"path": "e.txt", "line": 10, "end_line": 11}},
{"change": "CRLF file", "location": {"path": "h.txt", "line": 2, "end_line": 3}},
{"change": "straddles the head of a replaced block", "location": {"path": "m.txt", "line": 12, "end_line": 13}},
{"change": "replaced block starts inside", "location": {"path": "m.txt", "line": 8, "end_line": 11}},
{"change": "just after a replaced block", "location": {"path": "m.txt", "line": 15, "end_line": 16}},
{"change": "deletion follows the range", "location": {"path": "m.txt", "line": 28, "end_line": 28}},
{"change": "deletion at the next line", "location": {"path": "m.txt", "line": 29, "end_line": 29}},
{"change": "deletion ends just before", "location": {"path": "m.txt", "line": 32, "end_line": 32}},
{"change": "after the deletion", "location": {"path": "m.txt", "line": 33, "end_line": 33}},
{"change": "insertion at the first line", "location": {"path": "a.txt", "line": 5, "end_line": 7}},
{"change": "deletion ends just before the range", "location": {"path": "b.txt", "line": 4, "end_line": 5}},
{"change": "untracked file the cut creates", "location": {"path": "n.txt", "line": 1, "end_line": 2}}
]}}