forked from jasonkarns/bats-mock
-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels