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