Skip to content

Conversation

@Flamefire
Copy link

@Flamefire Flamefire commented Jun 14, 2019

Fixes #8 by saving the PATH and using command to ignore functions/aliases

Note: Needed to use a subshell as PATH="$_BATSLIB_PATH" command cat - did work for the tests but failed in a real world example and I can't figure out why. Even PATH="$_BATSLIB_PATH" command -v cat outputs the correct path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Harden code against mocks/stubs

1 participant