{"comment":{"url":"https://api.github.com/repos/hzoo/cst/comments/13260899","html_url":"https://github.com/hzoo/cst/commit/68ec46597346bcfae8ff0c9eefffe44116e08a4f#commitcomment-13260899","id":13260899,"user":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"position":3,"line":23,"path":"src/elements/types/CatchClause.js","commit_id":"68ec46597346bcfae8ff0c9eefffe44116e08a4f","created_at":"2015-09-16T12:42:51Z","updated_at":"2015-09-16T12:42:51Z","body":"```js\r\nit('should not accept trailing whitespace', () => {\r\n        var expression = parseAndGetExpression('x ? y : z');\r\n        expect(() => {\r\n            expression.appendChild(new Token('Whitespace', '   '));\r\n        }).to.throw('object is not a function');\r\n    });\r\n```\r\n\r\ngetting `object is not a function`"}}