mirror of
https://github.com/wweir/sower.git
synced 2026-10-19 16:14:33 +00:00
The installer renders config.ExampleSowerdConfigTOML through renderDefaultConfig, which now hard-errors unless a line starts with exactly `password = `. The new tests only used hand-written stubs, so reformatting the real template (indenting the line, dropping the space) would fail every fresh `sowerd -i` at runtime with nothing catching it. Add one test that renders the real embedded template and asserts no error, the generated password present, and the placeholder surviving only in the commented site_routes.auth sample. Verified by mutation: `password=` (no space) and an indented line both turn it red.