{"action":"created","issue":{"url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/247","labels_url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/247/labels{/name}","comments_url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/247/comments","events_url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/247/events","html_url":"https://github.com/unexpectedjs/unexpected/pull/247","id":126847420,"number":247,"title":"Added '<object> not to have keys' assertion","user":{"login":"joelmukuthu","id":374638,"avatar_url":"https://avatars.githubusercontent.com/u/374638?v=3","gravatar_id":"","url":"https://api.github.com/users/joelmukuthu","html_url":"https://github.com/joelmukuthu","followers_url":"https://api.github.com/users/joelmukuthu/followers","following_url":"https://api.github.com/users/joelmukuthu/following{/other_user}","gists_url":"https://api.github.com/users/joelmukuthu/gists{/gist_id}","starred_url":"https://api.github.com/users/joelmukuthu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelmukuthu/subscriptions","organizations_url":"https://api.github.com/users/joelmukuthu/orgs","repos_url":"https://api.github.com/users/joelmukuthu/repos","events_url":"https://api.github.com/users/joelmukuthu/events{/privacy}","received_events_url":"https://api.github.com/users/joelmukuthu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-01-15T10:31:34Z","updated_at":"2016-01-15T13:32:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/unexpectedjs/unexpected/pulls/247","html_url":"https://github.com/unexpectedjs/unexpected/pull/247","diff_url":"https://github.com/unexpectedjs/unexpected/pull/247.diff","patch_url":"https://github.com/unexpectedjs/unexpected/pull/247.patch"},"body":"This should be a nicer way to check if an object is \"empty\" rather than the `<object> to be empty` assertion which was removed in v6.\r\n\r\nIt simply delegates to `<object> to only have keys` on an empty array of keys.\r\n\r\nHowever, this PR does not add `<object> to have keys` which doesn't seem useful."},"comment":{"url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/comments/171962674","html_url":"https://github.com/unexpectedjs/unexpected/pull/247#issuecomment-171962674","issue_url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/247","id":171962674,"user":{"login":"sunesimonsen","id":90802,"avatar_url":"https://avatars.githubusercontent.com/u/90802?v=3","gravatar_id":"","url":"https://api.github.com/users/sunesimonsen","html_url":"https://github.com/sunesimonsen","followers_url":"https://api.github.com/users/sunesimonsen/followers","following_url":"https://api.github.com/users/sunesimonsen/following{/other_user}","gists_url":"https://api.github.com/users/sunesimonsen/gists{/gist_id}","starred_url":"https://api.github.com/users/sunesimonsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunesimonsen/subscriptions","organizations_url":"https://api.github.com/users/sunesimonsen/orgs","repos_url":"https://api.github.com/users/sunesimonsen/repos","events_url":"https://api.github.com/users/sunesimonsen/events{/privacy}","received_events_url":"https://api.github.com/users/sunesimonsen/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T13:32:46Z","updated_at":"2016-01-15T13:32:46Z","body":"@papandreou yes as long as it is not based on just checking the `obj.length === 0` I think it would be sane with `to be empty`."}}