You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to stub commands with a period you get an error as follows:
(from function `stub' in file /usr/local/lib/bats/bats-mock/stub.bash, line 11,
in test file FILE, line X)
`stub command.extension \' failed
/usr/local/lib/bats/bats-mock/stub.bash: line 11: export: `COMMAND.EXTENSION_STUB_PLAN=/tmp/command.extension-stub-plan': not a valid identifier
Solution is probably quite easy (just replace the period in the command to create a valid variable name
The text was updated successfully, but these errors were encountered:
When trying to stub commands with a period you get an error as follows:
Solution is probably quite easy (just replace the period in the command to create a valid variable name
The text was updated successfully, but these errors were encountered: