{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/io.js/issues/2122","labels_url":"https://api.github.com/repos/nodejs/io.js/issues/2122/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/io.js/issues/2122/comments","events_url":"https://api.github.com/repos/nodejs/io.js/issues/2122/events","html_url":"https://github.com/nodejs/io.js/pull/2122","id":93531368,"number":2122,"title":"test: refactoring test-repl-tab-complete with common.mustCall","user":{"login":"thefourtheye","id":696611,"avatar_url":"https://avatars.githubusercontent.com/u/696611?v=3","gravatar_id":"","url":"https://api.github.com/users/thefourtheye","html_url":"https://github.com/thefourtheye","followers_url":"https://api.github.com/users/thefourtheye/followers","following_url":"https://api.github.com/users/thefourtheye/following{/other_user}","gists_url":"https://api.github.com/users/thefourtheye/gists{/gist_id}","starred_url":"https://api.github.com/users/thefourtheye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefourtheye/subscriptions","organizations_url":"https://api.github.com/users/thefourtheye/orgs","repos_url":"https://api.github.com/users/thefourtheye/repos","events_url":"https://api.github.com/users/thefourtheye/events{/privacy}","received_events_url":"https://api.github.com/users/thefourtheye/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-07T13:34:35Z","updated_at":"2015-07-07T14:09:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/io.js/pulls/2122","html_url":"https://github.com/nodejs/io.js/pull/2122","diff_url":"https://github.com/nodejs/io.js/pull/2122.diff","patch_url":"https://github.com/nodejs/io.js/pull/2122.patch"},"body":"The original test uses a variable to explicitly count how many times\r\nthe callback is invoked. This patch uses `common.mustCall` to track\r\nif the callback is called or not. This would make the test more robust\r\nas we don't explicitly hardcode the number of times to be called.\r\n\r\ncc @cjihrig "},"comment":{"url":"https://api.github.com/repos/nodejs/io.js/issues/comments/119214869","html_url":"https://github.com/nodejs/io.js/pull/2122#issuecomment-119214869","issue_url":"https://api.github.com/repos/nodejs/io.js/issues/2122","id":119214869,"user":{"login":"cjihrig","id":2512748,"avatar_url":"https://avatars.githubusercontent.com/u/2512748?v=3","gravatar_id":"","url":"https://api.github.com/users/cjihrig","html_url":"https://github.com/cjihrig","followers_url":"https://api.github.com/users/cjihrig/followers","following_url":"https://api.github.com/users/cjihrig/following{/other_user}","gists_url":"https://api.github.com/users/cjihrig/gists{/gist_id}","starred_url":"https://api.github.com/users/cjihrig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjihrig/subscriptions","organizations_url":"https://api.github.com/users/cjihrig/orgs","repos_url":"https://api.github.com/users/cjihrig/repos","events_url":"https://api.github.com/users/cjihrig/events{/privacy}","received_events_url":"https://api.github.com/users/cjihrig/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T14:09:31Z","updated_at":"2015-07-07T14:09:31Z","body":"CI: https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/119/"}}