Fix incorrect flags in test

This commit is contained in:
David Dworken 2024-10-19 01:33:20 -07:00
parent c367ca2eb1
commit da53939cf8
No known key found for this signature in database

View File

@ -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)