Commit graph

2 commits

Author SHA1 Message Date
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
Barrett Ruth
8899838e15
feat: tests and better vim validate 2026-03-28 15:05:55 -04:00