mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-05 21:46:49 -04:00
formatExpected runs the expected output through strings.TrimSpace to get rid of the newlines that the raw string literal starts and ends with, but that also eats the indentation of the first line. A scenario whose first line starts with an empty column can't express what it expects, and a later commit adds two of those. Trim the newlines only. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>