mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-24 21:15:30 +02:00
Update goldens
This commit is contained in:
@@ -2675,7 +2675,7 @@ echo baz`)
|
||||
// And then uninstall
|
||||
out, err := tester.RunInteractiveShellRelaxed(t, `yes | hishtory uninstall`)
|
||||
require.NoError(t, err)
|
||||
testutils.CompareGoldens(t, out, "testUninstall-uninstall")
|
||||
testutils.CompareGoldens(t, out, "testUninstall-uninstall-"+tester.ShellName())
|
||||
|
||||
// And check that hishtory has been uninstalled
|
||||
out, err = tester.RunInteractiveShellRelaxed(t, `echo foo
|
||||
|
4
client/testdata/testUninstall-uninstall-bash
vendored
Normal file
4
client/testdata/testUninstall-uninstall-bash
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
Are you sure you want to uninstall hiSHtory and delete all locally saved history data [y/N]Do you have any feedback on why you're uninstallying hiSHtory? Type any feedback and then hit enter.
|
||||
Feedback: Successfully uninstalled hishtory, please restart your terminal...
|
||||
bash: /home/runner/.hishtory/hishtory: No such file or directory
|
||||
|
@@ -1,2 +1,4 @@
|
||||
Are you sure you want to uninstall hiSHtory and delete all locally saved history data [y/N]Do you have any feedback on why you're uninstallying hiSHtory? Type any feedback and then hit enter.
|
||||
Feedback: Successfully uninstalled hishtory, please restart your terminal...
|
||||
_hishtory_precmd:8: command not found: hishtory
|
||||
|
Reference in New Issue
Block a user