mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-17 02:11:43 +02:00
Improved update flow
Using the previously added new API endpoint, the update flow can now skip updates if the latest version is already installed. This also improves the output by making it so update can print the version. Also improved the error handling.
This commit is contained in:
@ -461,6 +461,7 @@ func TestUpdate(t *testing.T) {
|
||||
|
||||
// Update
|
||||
RunInteractiveBashCommands(t, `hishtory update`)
|
||||
// TODO: assert on the output of ^
|
||||
|
||||
// Then check the status command again to confirm the update worked
|
||||
out = RunInteractiveBashCommands(t, `hishtory status`)
|
||||
|
Reference in New Issue
Block a user