mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-22 16:24:00 +01: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)
|
||||
|
||||
// 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")
|
||||
}
|
||||
|
||||
@ -1072,7 +1072,7 @@ func testInstallViaPythonScript(t *testing.T, tester shellTester) {
|
||||
testInstallViaPythonScriptChild(t, tester)
|
||||
|
||||
// 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")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user