mirror of
https://github.com/ddworken/hishtory.git
synced 2024-12-27 01:08:53 +01:00
Fix incorrect flags in test
This commit is contained in:
parent
c367ca2eb1
commit
da53939cf8
@ -1101,7 +1101,7 @@ func testInstallViaPythonScriptChild(t *testing.T, tester shellTester, onlineSta
|
||||
if onlineStatus == Offline {
|
||||
additionalFlags = "--offline"
|
||||
}
|
||||
out := tester.RunInteractiveShell(t, `curl https://hishtory.dev/install.py | python3 - -- `+additionalFlags)
|
||||
out := tester.RunInteractiveShell(t, `curl https://hishtory.dev/install.py | python3 - `+additionalFlags)
|
||||
require.Contains(t, out, "Succesfully installed hishtory")
|
||||
r := regexp.MustCompile(`Setting secret hishtory key to (.*)`)
|
||||
matches := r.FindStringSubmatch(out)
|
||||
|
Loading…
Reference in New Issue
Block a user