{"action":"closed","issue":{"url":"https://api.github.com/repos/ciscoheat/buddy/issues/47","repository_url":"https://api.github.com/repos/ciscoheat/buddy","labels_url":"https://api.github.com/repos/ciscoheat/buddy/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/ciscoheat/buddy/issues/47/comments","events_url":"https://api.github.com/repos/ciscoheat/buddy/issues/47/events","html_url":"https://github.com/ciscoheat/buddy/issues/47","id":146352412,"number":47,"title":"err.should.be(null)","user":{"login":"wighawag","id":790580,"avatar_url":"https://avatars.githubusercontent.com/u/790580?v=3","gravatar_id":"","url":"https://api.github.com/users/wighawag","html_url":"https://github.com/wighawag","followers_url":"https://api.github.com/users/wighawag/followers","following_url":"https://api.github.com/users/wighawag/following{/other_user}","gists_url":"https://api.github.com/users/wighawag/gists{/gist_id}","starred_url":"https://api.github.com/users/wighawag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wighawag/subscriptions","organizations_url":"https://api.github.com/users/wighawag/orgs","repos_url":"https://api.github.com/users/wighawag/repos","events_url":"https://api.github.com/users/wighawag/events{/privacy}","received_events_url":"https://api.github.com/users/wighawag/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-06T15:34:33Z","updated_at":"2016-04-07T12:27:56Z","closed_at":"2016-04-07T12:27:56Z","body":"Not sure if this can be solved with macro but it would be great to be able to use should (even if value is null at runtime) \r\n\r\nfor example the following always fails\r\n```\r\nerr.should.be(null)\r\n```\r\n \r\nif err is null you get \r\n```\r\nGenerateMain.hx:182: TypeError: Cannot read property 'should' of null\r\n```\r\nelse you get an test error as err is not null"}}