mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-21 04:17:45 +02:00
Add -v flag so that status contains the relevant info for these tests
This commit is contained in:
parent
4b058298b9
commit
5c9fc929cc
@ -1063,7 +1063,7 @@ func TestInstallViaPythonScriptInOfflineMode(t *testing.T) {
|
|||||||
testInstallViaPythonScriptChild(t, tester)
|
testInstallViaPythonScriptChild(t, tester)
|
||||||
|
|
||||||
// And check that it installed in offline mode
|
// And check that it installed in offline mode
|
||||||
out := tester.RunInteractiveShell(t, `hishtory status`)
|
out := tester.RunInteractiveShell(t, `hishtory status -v`)
|
||||||
require.Contains(t, out, "\nSync Mode: Disabled\n")
|
require.Contains(t, out, "\nSync Mode: Disabled\n")
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1072,7 +1072,7 @@ func testInstallViaPythonScript(t *testing.T, tester shellTester) {
|
|||||||
testInstallViaPythonScriptChild(t, tester)
|
testInstallViaPythonScriptChild(t, tester)
|
||||||
|
|
||||||
// And check that it installed in online mode
|
// And check that it installed in online mode
|
||||||
out := tester.RunInteractiveShell(t, `hishtory status`)
|
out := tester.RunInteractiveShell(t, `hishtory status -v`)
|
||||||
require.Contains(t, out, "\nSync Mode: Enabled\n")
|
require.Contains(t, out, "\nSync Mode: Enabled\n")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user