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
$ vendor/bats/bin/bats test/test_case.bats
✗ test with asterisk
(in test file test/test_case.bats, line 14)
`[ "$output" = "foo" ]' failed
✓ test without asterisk
2 tests, 1 failure
The text was updated successfully, but these errors were encountered:
I encountered the same issue mocking aws with codebuild batch-get-builds --ids 3 --query builds[0].environment.environmentVariables, i.e. with arguments that contain [0] instead of [*]. Your PR #8 fixed the issue for me, @tommarshall . Thanks.
If the arguments string includes an asterisk then the bats-mock stub appears to fail to recognise the call.
Reduced test case:
Output:
The text was updated successfully, but these errors were encountered: