Closed docwhat closed 5 years ago
Hi @docwhat , Thanks for the PR. In the meantime I merged some big changes, could you update your PR?
Is there a way to test this automated? I'm asking, because I feel that this is something I'll eventually forget in future changes.. ;)
Thx.
I'm not sure it is worth it without a test.
Basically, the test would be something like
function someTest() {
setopt local_options
set -u
# Run the two scripts I modified.
}
Okay, I pushed up changes with a test.
Something still isn't working. If anyone wants to help?
I just restarted the Tests. That was a hiccup in the Travis OSX VMs again.. Now everything is green. Merging. Thx @docwhat
The surface functions and
if
cases may be called by a script, which means they should work even withset -u
set.