{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/esprima/issues/104","labels_url":"https://api.github.com/repos/facebook/esprima/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/facebook/esprima/issues/104/comments","events_url":"https://api.github.com/repos/facebook/esprima/issues/104/events","html_url":"https://github.com/facebook/esprima/pull/104","id":60457264,"number":104,"title":"Allow trailing commas after arguments/fn-params.","user":{"login":"kaustubh-karkare","id":1102450,"avatar_url":"https://avatars.githubusercontent.com/u/1102450?v=3","gravatar_id":"","url":"https://api.github.com/users/kaustubh-karkare","html_url":"https://github.com/kaustubh-karkare","followers_url":"https://api.github.com/users/kaustubh-karkare/followers","following_url":"https://api.github.com/users/kaustubh-karkare/following{/other_user}","gists_url":"https://api.github.com/users/kaustubh-karkare/gists{/gist_id}","starred_url":"https://api.github.com/users/kaustubh-karkare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaustubh-karkare/subscriptions","organizations_url":"https://api.github.com/users/kaustubh-karkare/orgs","repos_url":"https://api.github.com/users/kaustubh-karkare/repos","events_url":"https://api.github.com/users/kaustubh-karkare/events{/privacy}","received_events_url":"https://api.github.com/users/kaustubh-karkare/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-10T06:34:31Z","updated_at":"2015-03-10T08:29:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/esprima/pulls/104","html_url":"https://github.com/facebook/esprima/pull/104","diff_url":"https://github.com/facebook/esprima/pull/104.diff","patch_url":"https://github.com/facebook/esprima/pull/104.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/facebook/esprima/issues/comments/78012756","html_url":"https://github.com/facebook/esprima/pull/104#issuecomment-78012756","issue_url":"https://api.github.com/repos/facebook/esprima/issues/104","id":78012756,"user":{"login":"kaustubh-karkare","id":1102450,"avatar_url":"https://avatars.githubusercontent.com/u/1102450?v=3","gravatar_id":"","url":"https://api.github.com/users/kaustubh-karkare","html_url":"https://github.com/kaustubh-karkare","followers_url":"https://api.github.com/users/kaustubh-karkare/followers","following_url":"https://api.github.com/users/kaustubh-karkare/following{/other_user}","gists_url":"https://api.github.com/users/kaustubh-karkare/gists{/gist_id}","starred_url":"https://api.github.com/users/kaustubh-karkare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaustubh-karkare/subscriptions","organizations_url":"https://api.github.com/users/kaustubh-karkare/orgs","repos_url":"https://api.github.com/users/kaustubh-karkare/repos","events_url":"https://api.github.com/users/kaustubh-karkare/events{/privacy}","received_events_url":"https://api.github.com/users/kaustubh-karkare/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T08:29:45Z","updated_at":"2015-03-10T08:29:45Z","body":"For the record, I used http://esprima.org/demo/parse.html to get the structure for the non-trailing-comma version of the code, and then inserted that into the test file. Running `npm test` then yielded an output like \"expected [actual-structure] to match [correct-structure]\" which finally provided me with the correct structure, which I copy-pasted into the test file again.\r\nIs there a better way to do create these tests? I don't really like having to do the above (because I'm only testing against future changes, not for my own code; which I guess might be sufficient in this case), but couldn't think of anything else."}}