While trying to trigger an error condition for an in-process function from lib/bats/assertion-test-helpers as part of #156, I encountered the need to use the hash builtin for altering the path for a PATH command before and after the run command.
Coverage increased (+0.02%) to 95.393% when pulling 1a82f4f003d2e8cb000d43d665892d9d73e5cfe3 on in-process-stub into 1e2338edd6a703a1b34b2232bbaed26a0a9535d8 on master.
While trying to trigger an error condition for an in-process function from
lib/bats/assertion-test-helpers
as part of #156, I encountered the need to use thehash
builtin for altering the path for aPATH
command before and after therun
command.