{"action":"created","comment":{"url":"https://api.github.com/repos/sindresorhus/sparkly/pulls/comments/46732211","id":46732211,"diff_hunk":"@@ -10,7 +10,7 @@ test('creates graph', function (t) {\n \tt.assert(sparkly([1, 50, 100]) === '▁▄█');\n \tt.assert(sparkly([2, 4, 8]) === '▂▄█');\n \tt.assert(sparkly([1, 2, 3, 4, 5]) === '▂▄▅▇█');\n-    t.assert(sparkly([25, 45]) === '▅█');\n+\tt.assert(sparkly([25, 45]) === '▅█');\n \tt.end();","path":"test.js","position":6,"original_position":6,"commit_id":"3e826a259e645fa56a3befadc360532133ed8a24","original_commit_id":"3e826a259e645fa56a3befadc360532133ed8a24","user":{"login":"SamVerschueren","id":1913805,"avatar_url":"https://avatars.githubusercontent.com/u/1913805?v=3","gravatar_id":"","url":"https://api.github.com/users/SamVerschueren","html_url":"https://github.com/SamVerschueren","followers_url":"https://api.github.com/users/SamVerschueren/followers","following_url":"https://api.github.com/users/SamVerschueren/following{/other_user}","gists_url":"https://api.github.com/users/SamVerschueren/gists{/gist_id}","starred_url":"https://api.github.com/users/SamVerschueren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamVerschueren/subscriptions","organizations_url":"https://api.github.com/users/SamVerschueren/orgs","repos_url":"https://api.github.com/users/SamVerschueren/repos","events_url":"https://api.github.com/users/SamVerschueren/events{/privacy}","received_events_url":"https://api.github.com/users/SamVerschueren/received_events","type":"User","site_admin":false},"body":"Remove `t.end()`, not needed anymore in the latest AVA version.","created_at":"2015-12-04T21:06:15Z","updated_at":"2015-12-04T21:06:15Z","html_url":"https://github.com/sindresorhus/sparkly/pull/7#discussion_r46732211","pull_request_url":"https://api.github.com/repos/sindresorhus/sparkly/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/sparkly/pulls/comments/46732211"},"html":{"href":"https://github.com/sindresorhus/sparkly/pull/7#discussion_r46732211"},"pull_request":{"href":"https://api.github.com/repos/sindresorhus/sparkly/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/sindresorhus/sparkly/pulls/7","id":52720999,"html_url":"https://github.com/sindresorhus/sparkly/pull/7","diff_url":"https://github.com/sindresorhus/sparkly/pull/7.diff","patch_url":"https://github.com/sindresorhus/sparkly/pull/7.patch","issue_url":"https://api.github.com/repos/sindresorhus/sparkly/issues/7","number":7,"state":"open","locked":false,"title":"Tweaks6","user":{"login":"distinctblur","id":7071247,"avatar_url":"https://avatars.githubusercontent.com/u/7071247?v=3","gravatar_id":"","url":"https://api.github.com/users/distinctblur","html_url":"https://github.com/distinctblur","followers_url":"https://api.github.com/users/distinctblur/followers","following_url":"https://api.github.com/users/distinctblur/following{/other_user}","gists_url":"https://api.github.com/users/distinctblur/gists{/gist_id}","starred_url":"https://api.github.com/users/distinctblur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/distinctblur/subscriptions","organizations_url":"https://api.github.com/users/distinctblur/orgs","repos_url":"https://api.github.com/users/distinctblur/repos","events_url":"https://api.github.com/users/distinctblur/events{/privacy}","received_events_url":"https://api.github.com/users/distinctblur/received_events","type":"User","site_admin":false},"body":"Attempt to resolve #6. Test now fails with: \r\n\r\n```\r\n$ npm test\r\n\r\n> sparkly@2.0.1 test sparkly\r\n> xo && node test.js\r\n\r\n\r\nsparkly/cli.js\r\n  30:9  error  Parsing error: Illegal return statement\r\n\r\n✖ 1 problem (1 error, 0 warnings)\r\nnpm ERR! Test failed.  See above for more details.\r\n```\r\n\r\nThis appears to be related to https://github.com/sindresorhus/xo/issues/51 and https://github.com/eslint/eslint/issues/1158? Should we wait that out or is there a workaround?","created_at":"2015-12-04T21:02:54Z","updated_at":"2015-12-04T21:06:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92196f285727695cd9fc4b1d1413c5f6b60cce58","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sindresorhus/sparkly/pulls/7/commits","review_comments_url":"https://api.github.com/repos/sindresorhus/sparkly/pulls/7/comments","review_comment_url":"https://api.github.com/repos/sindresorhus/sparkly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sindresorhus/sparkly/issues/7/comments","statuses_url":"https://api.github.com/repos/sindresorhus/sparkly/statuses/3e826a259e645fa56a3befadc360532133ed8a24","head":{"label":"distinctblur:tweaks6","ref":"tweaks6","sha":"3e826a259e645fa56a3befadc360532133ed8a24","user":{"login":"distinctblur","id":7071247,"avatar_url":"https://avatars.githubusercontent.com/u/7071247?v=3","gravatar_id":"","url":"https://api.github.com/users/distinctblur","html_url":"https://github.com/distinctblur","followers_url":"https://api.github.com/users/distinctblur/followers","following_url":"https://api.github.com/users/distinctblur/following{/other_user}","gists_url":"https://api.github.com/users/distinctblur/gists{/gist_id}","starred_url":"https://api.github.com/users/distinctblur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/distinctblur/subscriptions","organizations_url":"https://api.github.com/users/distinctblur/orgs","repos_url":"https://api.github.com/users/distinctblur/repos","events_url":"https://api.github.com/users/distinctblur/events{/privacy}","received_events_url":"https://api.github.com/users/distinctblur/received_events","type":"User","site_admin":false},"repo":{"id":46934019,"name":"sparkly","full_name":"distinctblur/sparkly","owner":{"login":"distinctblur","id":7071247,"avatar_url":"https://avatars.githubusercontent.com/u/7071247?v=3","gravatar_id":"","url":"https://api.github.com/users/distinctblur","html_url":"https://github.com/distinctblur","followers_url":"https://api.github.com/users/distinctblur/followers","following_url":"https://api.github.com/users/distinctblur/following{/other_user}","gists_url":"https://api.github.com/users/distinctblur/gists{/gist_id}","starred_url":"https://api.github.com/users/distinctblur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/distinctblur/subscriptions","organizations_url":"https://api.github.com/users/distinctblur/orgs","repos_url":"https://api.github.com/users/distinctblur/repos","events_url":"https://api.github.com/users/distinctblur/events{/privacy}","received_events_url":"https://api.github.com/users/distinctblur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/distinctblur/sparkly","description":"Generate sparklines ▁▂▃▅▂▇","fork":true,"url":"https://api.github.com/repos/distinctblur/sparkly","forks_url":"https://api.github.com/repos/distinctblur/sparkly/forks","keys_url":"https://api.github.com/repos/distinctblur/sparkly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/distinctblur/sparkly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/distinctblur/sparkly/teams","hooks_url":"https://api.github.com/repos/distinctblur/sparkly/hooks","issue_events_url":"https://api.github.com/repos/distinctblur/sparkly/issues/events{/number}","events_url":"https://api.github.com/repos/distinctblur/sparkly/events","assignees_url":"https://api.github.com/repos/distinctblur/sparkly/assignees{/user}","branches_url":"https://api.github.com/repos/distinctblur/sparkly/branches{/branch}","tags_url":"https://api.github.com/repos/distinctblur/sparkly/tags","blobs_url":"https://api.github.com/repos/distinctblur/sparkly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/distinctblur/sparkly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/distinctblur/sparkly/git/refs{/sha}","trees_url":"https://api.github.com/repos/distinctblur/sparkly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/distinctblur/sparkly/statuses/{sha}","languages_url":"https://api.github.com/repos/distinctblur/sparkly/languages","stargazers_url":"https://api.github.com/repos/distinctblur/sparkly/stargazers","contributors_url":"https://api.github.com/repos/distinctblur/sparkly/contributors","subscribers_url":"https://api.github.com/repos/distinctblur/sparkly/subscribers","subscription_url":"https://api.github.com/repos/distinctblur/sparkly/subscription","commits_url":"https://api.github.com/repos/distinctblur/sparkly/commits{/sha}","git_commits_url":"https://api.github.com/repos/distinctblur/sparkly/git/commits{/sha}","comments_url":"https://api.github.com/repos/distinctblur/sparkly/comments{/number}","issue_comment_url":"https://api.github.com/repos/distinctblur/sparkly/issues/comments{/number}","contents_url":"https://api.github.com/repos/distinctblur/sparkly/contents/{+path}","compare_url":"https://api.github.com/repos/distinctblur/sparkly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/distinctblur/sparkly/merges","archive_url":"https://api.github.com/repos/distinctblur/sparkly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/distinctblur/sparkly/downloads","issues_url":"https://api.github.com/repos/distinctblur/sparkly/issues{/number}","pulls_url":"https://api.github.com/repos/distinctblur/sparkly/pulls{/number}","milestones_url":"https://api.github.com/repos/distinctblur/sparkly/milestones{/number}","notifications_url":"https://api.github.com/repos/distinctblur/sparkly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/distinctblur/sparkly/labels{/name}","releases_url":"https://api.github.com/repos/distinctblur/sparkly/releases{/id}","created_at":"2015-11-26T15:23:35Z","updated_at":"2015-11-26T15:23:36Z","pushed_at":"2015-12-04T20:56:49Z","git_url":"git://github.com/distinctblur/sparkly.git","ssh_url":"git@github.com:distinctblur/sparkly.git","clone_url":"https://github.com/distinctblur/sparkly.git","svn_url":"https://github.com/distinctblur/sparkly","homepage":null,"size":10,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sindresorhus:master","ref":"master","sha":"67a6bc8426d46af442fcd9f069dcc93fbfeab94a","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"repo":{"id":23405998,"name":"sparkly","full_name":"sindresorhus/sparkly","owner":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sindresorhus/sparkly","description":"Generate sparklines ▁▂▃▅▂▇","fork":false,"url":"https://api.github.com/repos/sindresorhus/sparkly","forks_url":"https://api.github.com/repos/sindresorhus/sparkly/forks","keys_url":"https://api.github.com/repos/sindresorhus/sparkly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sindresorhus/sparkly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sindresorhus/sparkly/teams","hooks_url":"https://api.github.com/repos/sindresorhus/sparkly/hooks","issue_events_url":"https://api.github.com/repos/sindresorhus/sparkly/issues/events{/number}","events_url":"https://api.github.com/repos/sindresorhus/sparkly/events","assignees_url":"https://api.github.com/repos/sindresorhus/sparkly/assignees{/user}","branches_url":"https://api.github.com/repos/sindresorhus/sparkly/branches{/branch}","tags_url":"https://api.github.com/repos/sindresorhus/sparkly/tags","blobs_url":"https://api.github.com/repos/sindresorhus/sparkly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sindresorhus/sparkly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sindresorhus/sparkly/git/refs{/sha}","trees_url":"https://api.github.com/repos/sindresorhus/sparkly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sindresorhus/sparkly/statuses/{sha}","languages_url":"https://api.github.com/repos/sindresorhus/sparkly/languages","stargazers_url":"https://api.github.com/repos/sindresorhus/sparkly/stargazers","contributors_url":"https://api.github.com/repos/sindresorhus/sparkly/contributors","subscribers_url":"https://api.github.com/repos/sindresorhus/sparkly/subscribers","subscription_url":"https://api.github.com/repos/sindresorhus/sparkly/subscription","commits_url":"https://api.github.com/repos/sindresorhus/sparkly/commits{/sha}","git_commits_url":"https://api.github.com/repos/sindresorhus/sparkly/git/commits{/sha}","comments_url":"https://api.github.com/repos/sindresorhus/sparkly/comments{/number}","issue_comment_url":"https://api.github.com/repos/sindresorhus/sparkly/issues/comments{/number}","contents_url":"https://api.github.com/repos/sindresorhus/sparkly/contents/{+path}","compare_url":"https://api.github.com/repos/sindresorhus/sparkly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sindresorhus/sparkly/merges","archive_url":"https://api.github.com/repos/sindresorhus/sparkly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sindresorhus/sparkly/downloads","issues_url":"https://api.github.com/repos/sindresorhus/sparkly/issues{/number}","pulls_url":"https://api.github.com/repos/sindresorhus/sparkly/pulls{/number}","milestones_url":"https://api.github.com/repos/sindresorhus/sparkly/milestones{/number}","notifications_url":"https://api.github.com/repos/sindresorhus/sparkly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sindresorhus/sparkly/labels{/name}","releases_url":"https://api.github.com/repos/sindresorhus/sparkly/releases{/id}","created_at":"2014-08-27T21:25:19Z","updated_at":"2015-12-04T16:11:44Z","pushed_at":"2015-12-04T21:02:55Z","git_url":"git://github.com/sindresorhus/sparkly.git","ssh_url":"git@github.com:sindresorhus/sparkly.git","clone_url":"https://github.com/sindresorhus/sparkly.git","svn_url":"https://github.com/sindresorhus/sparkly","homepage":null,"size":196,"stargazers_count":146,"watchers_count":146,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":146,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/sparkly/pulls/7"},"html":{"href":"https://github.com/sindresorhus/sparkly/pull/7"},"issue":{"href":"https://api.github.com/repos/sindresorhus/sparkly/issues/7"},"comments":{"href":"https://api.github.com/repos/sindresorhus/sparkly/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/sindresorhus/sparkly/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/sindresorhus/sparkly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sindresorhus/sparkly/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/sindresorhus/sparkly/statuses/3e826a259e645fa56a3befadc360532133ed8a24"}}}}