mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-14 09:08:44 +02:00
Enable 'strict' mode for zsh
This commit is contained in:
@ -76,8 +76,7 @@ type zshTester struct {
|
||||
}
|
||||
|
||||
func (z zshTester) RunInteractiveShell(t *testing.T, script string) string {
|
||||
// TODO: make this strict
|
||||
res, err := z.RunInteractiveShellRelaxed(t, script)
|
||||
res, err := z.RunInteractiveShellRelaxed(t, "set -eo pipefail\n"+script)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user