forge.nvim/spec
Barrett Ruth 830442f856
test: update format tests for segment-based output
Problem: format functions now return `forge.Segment[]` instead of
strings, so all tests calling `:find()` and `:match()` on results
were failing.

Solution: add `flatten()` helper that concatenates segment text, and
wrap all format assertions with it. Also fix stylua formatting in
`sources_spec.lua`.
2026-03-28 17:48:35 -04:00
..
init_spec.lua test: update format tests for segment-based output 2026-03-28 17:48:35 -04:00
sources_spec.lua test: update format tests for segment-based output 2026-03-28 17:48:35 -04:00