// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`DiffRenderer > NO_COLOR environment > renders the diff without any escape codes 1`] = ` "/test/file.erb 1 │
+ │
6 │
+ │
"
`;
exports[`DiffRenderer > inline change highlighting > backgrounds only the characters that changed, keeping syntax colors 1`] = `
"[36m/test/file.erb[0m
[31m - [0m[1m 2[0m [90m│[0m [48;2;58;34;36m [38;2;224;108;117m<[0m[38;2;224;108;117m[48;2;58;34;36mspan[0m[48;2;58;34;36m [38;2;209;154;102mclass[0m[38;2;86;182;194m[48;2;58;34;36m=[0m[38;2;152;195;121m[48;2;107;46;49m'[0m[38;2;152;195;121m[48;2;58;34;36mcard[0m[38;2;152;195;121m[48;2;107;46;49m'[0m[38;2;224;108;117m[48;2;58;34;36m>[0m
[32m + [0m [90m│[0m [48;2;30;50;38m [38;2;224;108;117m<[0m[38;2;224;108;117m[48;2;30;50;38mspan[0m[48;2;30;50;38m [38;2;209;154;102mclass[0m[38;2;86;182;194m[48;2;30;50;38m=[0m[38;2;152;195;121m[48;2;46;94;61m"[0m[38;2;152;195;121m[48;2;30;50;38mcard[0m[38;2;152;195;121m[48;2;46;94;61m"[0m[38;2;224;108;117m[48;2;30;50;38m>[0m
[90m│[0m [90m⋮[0m
[31m - [0m[1m 5[0m [90m│[0m [48;2;58;34;36m [38;2;224;108;117m<[0m[38;2;224;108;117m[48;2;58;34;36mimg[0m[48;2;58;34;36m [38;2;209;154;102msrc[0m[38;2;86;182;194m[48;2;58;34;36m=[0m[38;2;152;195;121m[48;2;58;34;36m"[0m[38;2;152;195;121m[48;2;58;34;36ma[0m[38;2;171;178;191m[48;2;58;34;36m.[0m[38;2;152;195;121m[48;2;58;34;36mpng[0m[38;2;152;195;121m[48;2;58;34;36m"[0m[38;2;224;108;117m[48;2;58;34;36m>[0m
[32m + [0m [90m│[0m [48;2;30;50;38m [38;2;224;108;117m<[0m[38;2;224;108;117m[48;2;30;50;38mimg[0m[48;2;30;50;38m [38;2;209;154;102msrc[0m[38;2;86;182;194m[48;2;30;50;38m=[0m[38;2;152;195;121m[48;2;30;50;38m"[0m[38;2;152;195;121m[48;2;30;50;38ma[0m[38;2;171;178;191m[48;2;30;50;38m.[0m[38;2;152;195;121m[48;2;30;50;38mpng[0m[38;2;152;195;121m[48;2;30;50;38m"[0m[48;2;46;94;61m [38;2;209;154;102malt[0m[38;2;86;182;194m[48;2;46;94;61m=[0m[38;2;152;195;121m[48;2;46;94;61m"[0m[38;2;152;195;121m[48;2;46;94;61m"[0m[38;2;224;108;117m[48;2;30;50;38m>[0m"
`;
exports[`DiffRenderer > inline change highlighting > marks the inserted indentation when a block is re-indented line for line 1`] = `
"/test/file.erb
- 2 │ one
- 3 │ two
+ │ one
+ │ two"
`;
exports[`DiffRenderer > keeps context numbering monotonic when the fix changes the line count 1`] = `
"/test/file.erb
1 │
+
+ │
6 │
+ │
6 │