Replies: 1 comment 1 reply
-
Hey @zregvart, Try changing |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all!
I want to test the error handling of my function and I can't wrap my head around this: when I run the script
a.sh
directly, it immediately exits; but when I try to test for this behavior the it looks likeset -e
is ignored.Here is what I have:
a.sh:
a_spec.sh:
Calling directly:
Running the tests:
Beta Was this translation helpful? Give feedback.
All reactions