{"action":"created","issue":{"url":"https://api.github.com/repos/shouldjs/should.js/issues/79","labels_url":"https://api.github.com/repos/shouldjs/should.js/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/shouldjs/should.js/issues/79/comments","events_url":"https://api.github.com/repos/shouldjs/should.js/issues/79/events","html_url":"https://github.com/shouldjs/should.js/issues/79","id":102705674,"number":79,"title":".empty on empty array hangs forever","user":{"login":"akotranza","id":2252268,"avatar_url":"https://avatars.githubusercontent.com/u/2252268?v=3","gravatar_id":"","url":"https://api.github.com/users/akotranza","html_url":"https://github.com/akotranza","followers_url":"https://api.github.com/users/akotranza/followers","following_url":"https://api.github.com/users/akotranza/following{/other_user}","gists_url":"https://api.github.com/users/akotranza/gists{/gist_id}","starred_url":"https://api.github.com/users/akotranza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akotranza/subscriptions","organizations_url":"https://api.github.com/users/akotranza/orgs","repos_url":"https://api.github.com/users/akotranza/repos","events_url":"https://api.github.com/users/akotranza/events{/privacy}","received_events_url":"https://api.github.com/users/akotranza/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-24T04:45:40Z","updated_at":"2015-08-24T15:58:08Z","closed_at":"2015-08-24T15:58:08Z","body":"// hangs forever\r\nemptyarray.should.have.lengthOf(0);\r\ndone();\r\n\r\n// works fine\r\nemptyarray.should.be.empty;\r\ndone();"},"comment":{"url":"https://api.github.com/repos/shouldjs/should.js/issues/comments/134261841","html_url":"https://github.com/shouldjs/should.js/issues/79#issuecomment-134261841","issue_url":"https://api.github.com/repos/shouldjs/should.js/issues/79","id":134261841,"user":{"login":"akotranza","id":2252268,"avatar_url":"https://avatars.githubusercontent.com/u/2252268?v=3","gravatar_id":"","url":"https://api.github.com/users/akotranza","html_url":"https://github.com/akotranza","followers_url":"https://api.github.com/users/akotranza/followers","following_url":"https://api.github.com/users/akotranza/following{/other_user}","gists_url":"https://api.github.com/users/akotranza/gists{/gist_id}","starred_url":"https://api.github.com/users/akotranza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akotranza/subscriptions","organizations_url":"https://api.github.com/users/akotranza/orgs","repos_url":"https://api.github.com/users/akotranza/repos","events_url":"https://api.github.com/users/akotranza/events{/privacy}","received_events_url":"https://api.github.com/users/akotranza/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T15:58:08Z","updated_at":"2015-08-24T15:58:08Z","body":"Oops, not an issue with should, sorry about that. Finding out that testing promises with mocha is a bit of a mess. Any assert within then(...) was causing mocha to hang forever... forgetting the () on empty was the trick to making it seem like it worked ;)"}}