{"action":"created","issue":{"url":"https://api.github.com/repos/sinonjs/sinon/issues/1147","repository_url":"https://api.github.com/repos/sinonjs/sinon","labels_url":"https://api.github.com/repos/sinonjs/sinon/issues/1147/labels{/name}","comments_url":"https://api.github.com/repos/sinonjs/sinon/issues/1147/comments","events_url":"https://api.github.com/repos/sinonjs/sinon/issues/1147/events","html_url":"https://github.com/sinonjs/sinon/issues/1147","id":177403542,"number":1147,"title":"sinon.assert.match documentation missing","user":{"login":"robertknight","id":2458,"avatar_url":"https://avatars.githubusercontent.com/u/2458?v=3","gravatar_id":"","url":"https://api.github.com/users/robertknight","html_url":"https://github.com/robertknight","followers_url":"https://api.github.com/users/robertknight/followers","following_url":"https://api.github.com/users/robertknight/following{/other_user}","gists_url":"https://api.github.com/users/robertknight/gists{/gist_id}","starred_url":"https://api.github.com/users/robertknight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertknight/subscriptions","organizations_url":"https://api.github.com/users/robertknight/orgs","repos_url":"https://api.github.com/users/robertknight/repos","events_url":"https://api.github.com/users/robertknight/events{/privacy}","received_events_url":"https://api.github.com/users/robertknight/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-16T11:28:22Z","updated_at":"2016-09-16T14:37:51Z","closed_at":null,"body":"sinon has a useful `match()` assertion method to test whether a value matches another using `sinon.match()`. This was added in https://github.com/sinonjs/sinon/pull/410 but is not documented in http://sinonjs.org/docs/#assertions-api\r\n\r\n@ropez I assume this was intended to be a public API?\r\n\r\nA secondary issue is that when sinon's assertions are exposed on the same `assert` object as chai's assertions, this conflicts with chai's `assert.match` which is a regexp match. Perhaps it should be renamed before making it public?\r\n"},"comment":{"url":"https://api.github.com/repos/sinonjs/sinon/issues/comments/247617233","html_url":"https://github.com/sinonjs/sinon/issues/1147#issuecomment-247617233","issue_url":"https://api.github.com/repos/sinonjs/sinon/issues/1147","id":247617233,"user":{"login":"fatso83","id":618076,"avatar_url":"https://avatars.githubusercontent.com/u/618076?v=3","gravatar_id":"","url":"https://api.github.com/users/fatso83","html_url":"https://github.com/fatso83","followers_url":"https://api.github.com/users/fatso83/followers","following_url":"https://api.github.com/users/fatso83/following{/other_user}","gists_url":"https://api.github.com/users/fatso83/gists{/gist_id}","starred_url":"https://api.github.com/users/fatso83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatso83/subscriptions","organizations_url":"https://api.github.com/users/fatso83/orgs","repos_url":"https://api.github.com/users/fatso83/repos","events_url":"https://api.github.com/users/fatso83/events{/privacy}","received_events_url":"https://api.github.com/users/fatso83/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T14:37:51Z","updated_at":"2016-09-16T14:37:51Z","body":"@robertknight : the state of documentation is less than optimal at the moment, but hopefully we will push a new site soon. Documentation is kept up-to-date in the `docs` directory in this repo. You can find [plenty of docs on matchers](https://github.com/sinonjs/sinon/blob/master/docs/current/matchers.md) there.\r\n\r\nAs to what other people/libraries are doing with sinon's assertions, that is up to them, and if some naming collision arises, that is frankly for them to fix. It is out of scope for us IMHO, unless I am misunderstanding what you describe."}}
{"actor":{"display_login":"fatso83"}}