// 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 │
- 2 │ + │ 3 │ <%= render partial: "gem_card" %> 4 │ - 5 │ + │ 6 │
" `; exports[`DiffRenderer > indents the whole diff for nesting under an offense 1`] = ` " - 2 │ + │ │ ⋮ - 5 │ + │ " `; exports[`DiffRenderer > inline change highlighting > backgrounds only the characters that changed, keeping syntax colors 1`] = ` "/test/file.erb  -  2 │  <span class='card'>  +  │  <span class="card"> │ ⋮  -  5 │  <img src="a.png">  +  │  <img src="a.png" alt="">" `; 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 │
2 │ one + │ two 3 │
" `; exports[`DiffRenderer > omits the header and gutter when line numbers are hidden 1`] = ` "
- + <%= render partial: "gem_card" %> - +
" `; exports[`DiffRenderer > renderFromHunks > renders hunks that arrived without their sources 1`] = ` "/test/file.erb 1 │
- 2 │ + │ 3 │ <%= render partial: "gem_card" %> 4 │ - 5 │ + │ 6 │
" `; exports[`DiffRenderer > renders removals and additions in the gutter alongside line numbers 1`] = ` "/test/file.erb 1 │
- 2 │ + │ 3 │ <%= render partial: "gem_card" %> 4 │ - 5 │ + │ 6 │
" `; exports[`DiffRenderer > separates distant hunks with a marker 1`] = ` "/test/file.erb 1 │
- 2 │ + │ 3 │ │ ⋮ 5 │ - 6 │ + │ 7 │ " `; exports[`DiffRenderer > single-line collapsing > collapses an isolated one-for-one replacement onto a single line 1`] = ` " 1 │
± 2 │ one 3 │

untouched

" `; exports[`DiffRenderer > single-line collapsing > falls back to splitting when color is off, since the composite needs tinting to be read 1`] = ` " 1 │
- 2 │ one + │ one 3 │

untouched

" `; exports[`DiffRenderer > split layout > leaves the shorter side blank when the two runs differ in length 1`] = ` " - 2 │ x ┃ + 2 │
│ ┃ + 3 │ x │ ┃ + 4 │
" `; exports[`DiffRenderer > split layout > puts the original on the left and the modified on the right 1`] = ` " 1 │
┃ 1 │
- 2 │ ┃ + 2 │ 3 │ <%= render partial: "gem_card" %> ┃ 3 │ <%= render partial: "gem_card" %> 4 │ ┃ 4 │ - 5 │ ┃ + 5 │ 6 │
┃ 6 │
" `; exports[`DiffRenderer > truncates long lines when asked 1`] = ` "/test/file.erb - 1 │