mirror of
https://github.com/floci-io/floci-cli.git
synced 2026-11-30 00:45:18 -05:00
PrinterTest pins where text, errors and warnings go, what --quiet hides, and the JSON and YAML rendering. UpdateCommandTest drives floci update against a stub release server: a verified replacement, a checksum mismatch, --check, up to date, a Homebrew install and a non-version API response. UpdateCommand takes the binary path and the release URLs through a constructor for this, replacing a package-private field. Signed-off-by: Hector Ventura <hectorvent@gmail.com>