{"action":"created","comment":{"url":"https://api.github.com/repos/exercism/xgo/pulls/comments/81476243","pull_request_review_id":2454215,"id":81476243,"diff_hunk":"@@ -2,27 +2,39 @@ package lsproduct\n \n import \"testing\"\n \n-const targetTestVersion = 3\n+const targetTestVersion = 4\n \n-func TestLargestSeriesProduct(t *testing.T) {\n+func TestTestVersion(t *testing.T) {\n \tif testVersion != targetTestVersion {\n \t\tt.Fatalf(\"Found testVersion = %v, want %v\", testVersion, targetTestVersion)\n \t}\n+}\n+\n+func TestLargestSeriesProduct(t *testing.T) {\n \tfor _, test := range tests {\n \t\tp, err := LargestSeriesProduct(test.digits, test.span)\n-\t\tswitch {\n-\t\tcase err != nil:\n-\t\t\tif test.ok {\n+\t\tif !test.ok { // expect error","path":"exercises/largest-series-product/largest_series_product_test.go","position":null,"original_position":20,"commit_id":"8d0076fb180ac348851a04f53539d634bfc21bb2","original_commit_id":"8440daa04ff7bc87917c1c16c0fce897435468fc","user":{"login":"mchoube","id":1548448,"avatar_url":"https://avatars.githubusercontent.com/u/1548448?v=3","gravatar_id":"","url":"https://api.github.com/users/mchoube","html_url":"https://github.com/mchoube","followers_url":"https://api.github.com/users/mchoube/followers","following_url":"https://api.github.com/users/mchoube/following{/other_user}","gists_url":"https://api.github.com/users/mchoube/gists{/gist_id}","starred_url":"https://api.github.com/users/mchoube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mchoube/subscriptions","organizations_url":"https://api.github.com/users/mchoube/orgs","repos_url":"https://api.github.com/users/mchoube/repos","events_url":"https://api.github.com/users/mchoube/events{/privacy}","received_events_url":"https://api.github.com/users/mchoube/received_events","type":"User","site_admin":false},"body":"this is fixed in the new commit.\r\n","created_at":"2016-10-02T19:31:10Z","updated_at":"2016-10-02T19:31:10Z","html_url":"https://github.com/exercism/xgo/pull/381#discussion_r81476243","pull_request_url":"https://api.github.com/repos/exercism/xgo/pulls/381","_links":{"self":{"href":"https://api.github.com/repos/exercism/xgo/pulls/comments/81476243"},"html":{"href":"https://github.com/exercism/xgo/pull/381#discussion_r81476243"},"pull_request":{"href":"https://api.github.com/repos/exercism/xgo/pulls/381"}}},"pull_request":{"url":"https://api.github.com/repos/exercism/xgo/pulls/381","id":87624430,"html_url":"https://github.com/exercism/xgo/pull/381","diff_url":"https://github.com/exercism/xgo/pull/381.diff","patch_url":"https://github.com/exercism/xgo/pull/381.patch","issue_url":"https://api.github.com/repos/exercism/xgo/issues/381","number":381,"state":"open","locked":false,"title":"Issue #294: largest-series-product: improv error handling.","user":{"login":"mchoube","id":1548448,"avatar_url":"https://avatars.githubusercontent.com/u/1548448?v=3","gravatar_id":"","url":"https://api.github.com/users/mchoube","html_url":"https://github.com/mchoube","followers_url":"https://api.github.com/users/mchoube/followers","following_url":"https://api.github.com/users/mchoube/following{/other_user}","gists_url":"https://api.github.com/users/mchoube/gists{/gist_id}","starred_url":"https://api.github.com/users/mchoube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mchoube/subscriptions","organizations_url":"https://api.github.com/users/mchoube/orgs","repos_url":"https://api.github.com/users/mchoube/repos","events_url":"https://api.github.com/users/mchoube/events{/privacy}","received_events_url":"https://api.github.com/users/mchoube/received_events","type":"User","site_admin":false},"body":"Improved error handling for largest series product test. Please review.","created_at":"2016-10-02T04:42:29Z","updated_at":"2016-10-02T19:31:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed67369b03481920f775ce79b93ea7952e498bda","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/exercism/xgo/pulls/381/commits","review_comments_url":"https://api.github.com/repos/exercism/xgo/pulls/381/comments","review_comment_url":"https://api.github.com/repos/exercism/xgo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/exercism/xgo/issues/381/comments","statuses_url":"https://api.github.com/repos/exercism/xgo/statuses/8d0076fb180ac348851a04f53539d634bfc21bb2","head":{"label":"mchoube:largest-series-product-improve-err-handling","ref":"largest-series-product-improve-err-handling","sha":"8d0076fb180ac348851a04f53539d634bfc21bb2","user":{"login":"mchoube","id":1548448,"avatar_url":"https://avatars.githubusercontent.com/u/1548448?v=3","gravatar_id":"","url":"https://api.github.com/users/mchoube","html_url":"https://github.com/mchoube","followers_url":"https://api.github.com/users/mchoube/followers","following_url":"https://api.github.com/users/mchoube/following{/other_user}","gists_url":"https://api.github.com/users/mchoube/gists{/gist_id}","starred_url":"https://api.github.com/users/mchoube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mchoube/subscriptions","organizations_url":"https://api.github.com/users/mchoube/orgs","repos_url":"https://api.github.com/users/mchoube/repos","events_url":"https://api.github.com/users/mchoube/events{/privacy}","received_events_url":"https://api.github.com/users/mchoube/received_events","type":"User","site_admin":false},"repo":{"id":69758140,"name":"xgo","full_name":"mchoube/xgo","owner":{"login":"mchoube","id":1548448,"avatar_url":"https://avatars.githubusercontent.com/u/1548448?v=3","gravatar_id":"","url":"https://api.github.com/users/mchoube","html_url":"https://github.com/mchoube","followers_url":"https://api.github.com/users/mchoube/followers","following_url":"https://api.github.com/users/mchoube/following{/other_user}","gists_url":"https://api.github.com/users/mchoube/gists{/gist_id}","starred_url":"https://api.github.com/users/mchoube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mchoube/subscriptions","organizations_url":"https://api.github.com/users/mchoube/orgs","repos_url":"https://api.github.com/users/mchoube/repos","events_url":"https://api.github.com/users/mchoube/events{/privacy}","received_events_url":"https://api.github.com/users/mchoube/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mchoube/xgo","description":"Exercism Exercises in Go","fork":true,"url":"https://api.github.com/repos/mchoube/xgo","forks_url":"https://api.github.com/repos/mchoube/xgo/forks","keys_url":"https://api.github.com/repos/mchoube/xgo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mchoube/xgo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mchoube/xgo/teams","hooks_url":"https://api.github.com/repos/mchoube/xgo/hooks","issue_events_url":"https://api.github.com/repos/mchoube/xgo/issues/events{/number}","events_url":"https://api.github.com/repos/mchoube/xgo/events","assignees_url":"https://api.github.com/repos/mchoube/xgo/assignees{/user}","branches_url":"https://api.github.com/repos/mchoube/xgo/branches{/branch}","tags_url":"https://api.github.com/repos/mchoube/xgo/tags","blobs_url":"https://api.github.com/repos/mchoube/xgo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mchoube/xgo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mchoube/xgo/git/refs{/sha}","trees_url":"https://api.github.com/repos/mchoube/xgo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mchoube/xgo/statuses/{sha}","languages_url":"https://api.github.com/repos/mchoube/xgo/languages","stargazers_url":"https://api.github.com/repos/mchoube/xgo/stargazers","contributors_url":"https://api.github.com/repos/mchoube/xgo/contributors","subscribers_url":"https://api.github.com/repos/mchoube/xgo/subscribers","subscription_url":"https://api.github.com/repos/mchoube/xgo/subscription","commits_url":"https://api.github.com/repos/mchoube/xgo/commits{/sha}","git_commits_url":"https://api.github.com/repos/mchoube/xgo/git/commits{/sha}","comments_url":"https://api.github.com/repos/mchoube/xgo/comments{/number}","issue_comment_url":"https://api.github.com/repos/mchoube/xgo/issues/comments{/number}","contents_url":"https://api.github.com/repos/mchoube/xgo/contents/{+path}","compare_url":"https://api.github.com/repos/mchoube/xgo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mchoube/xgo/merges","archive_url":"https://api.github.com/repos/mchoube/xgo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mchoube/xgo/downloads","issues_url":"https://api.github.com/repos/mchoube/xgo/issues{/number}","pulls_url":"https://api.github.com/repos/mchoube/xgo/pulls{/number}","milestones_url":"https://api.github.com/repos/mchoube/xgo/milestones{/number}","notifications_url":"https://api.github.com/repos/mchoube/xgo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mchoube/xgo/labels{/name}","releases_url":"https://api.github.com/repos/mchoube/xgo/releases{/id}","deployments_url":"https://api.github.com/repos/mchoube/xgo/deployments","created_at":"2016-10-01T19:13:54Z","updated_at":"2016-10-01T19:13:55Z","pushed_at":"2016-10-02T16:09:31Z","git_url":"git://github.com/mchoube/xgo.git","ssh_url":"git@github.com:mchoube/xgo.git","clone_url":"https://github.com/mchoube/xgo.git","svn_url":"https://github.com/mchoube/xgo","homepage":null,"size":1550,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"exercism:master","ref":"master","sha":"d4aa042d5099efd4abd916d5a6a0209d7c5e0e5e","user":{"login":"exercism","id":5624255,"avatar_url":"https://avatars.githubusercontent.com/u/5624255?v=3","gravatar_id":"","url":"https://api.github.com/users/exercism","html_url":"https://github.com/exercism","followers_url":"https://api.github.com/users/exercism/followers","following_url":"https://api.github.com/users/exercism/following{/other_user}","gists_url":"https://api.github.com/users/exercism/gists{/gist_id}","starred_url":"https://api.github.com/users/exercism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exercism/subscriptions","organizations_url":"https://api.github.com/users/exercism/orgs","repos_url":"https://api.github.com/users/exercism/repos","events_url":"https://api.github.com/users/exercism/events{/privacy}","received_events_url":"https://api.github.com/users/exercism/received_events","type":"Organization","site_admin":false},"repo":{"id":17273223,"name":"xgo","full_name":"exercism/xgo","owner":{"login":"exercism","id":5624255,"avatar_url":"https://avatars.githubusercontent.com/u/5624255?v=3","gravatar_id":"","url":"https://api.github.com/users/exercism","html_url":"https://github.com/exercism","followers_url":"https://api.github.com/users/exercism/followers","following_url":"https://api.github.com/users/exercism/following{/other_user}","gists_url":"https://api.github.com/users/exercism/gists{/gist_id}","starred_url":"https://api.github.com/users/exercism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exercism/subscriptions","organizations_url":"https://api.github.com/users/exercism/orgs","repos_url":"https://api.github.com/users/exercism/repos","events_url":"https://api.github.com/users/exercism/events{/privacy}","received_events_url":"https://api.github.com/users/exercism/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exercism/xgo","description":"Exercism Exercises in Go","fork":false,"url":"https://api.github.com/repos/exercism/xgo","forks_url":"https://api.github.com/repos/exercism/xgo/forks","keys_url":"https://api.github.com/repos/exercism/xgo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exercism/xgo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exercism/xgo/teams","hooks_url":"https://api.github.com/repos/exercism/xgo/hooks","issue_events_url":"https://api.github.com/repos/exercism/xgo/issues/events{/number}","events_url":"https://api.github.com/repos/exercism/xgo/events","assignees_url":"https://api.github.com/repos/exercism/xgo/assignees{/user}","branches_url":"https://api.github.com/repos/exercism/xgo/branches{/branch}","tags_url":"https://api.github.com/repos/exercism/xgo/tags","blobs_url":"https://api.github.com/repos/exercism/xgo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exercism/xgo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exercism/xgo/git/refs{/sha}","trees_url":"https://api.github.com/repos/exercism/xgo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exercism/xgo/statuses/{sha}","languages_url":"https://api.github.com/repos/exercism/xgo/languages","stargazers_url":"https://api.github.com/repos/exercism/xgo/stargazers","contributors_url":"https://api.github.com/repos/exercism/xgo/contributors","subscribers_url":"https://api.github.com/repos/exercism/xgo/subscribers","subscription_url":"https://api.github.com/repos/exercism/xgo/subscription","commits_url":"https://api.github.com/repos/exercism/xgo/commits{/sha}","git_commits_url":"https://api.github.com/repos/exercism/xgo/git/commits{/sha}","comments_url":"https://api.github.com/repos/exercism/xgo/comments{/number}","issue_comment_url":"https://api.github.com/repos/exercism/xgo/issues/comments{/number}","contents_url":"https://api.github.com/repos/exercism/xgo/contents/{+path}","compare_url":"https://api.github.com/repos/exercism/xgo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exercism/xgo/merges","archive_url":"https://api.github.com/repos/exercism/xgo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exercism/xgo/downloads","issues_url":"https://api.github.com/repos/exercism/xgo/issues{/number}","pulls_url":"https://api.github.com/repos/exercism/xgo/pulls{/number}","milestones_url":"https://api.github.com/repos/exercism/xgo/milestones{/number}","notifications_url":"https://api.github.com/repos/exercism/xgo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exercism/xgo/labels{/name}","releases_url":"https://api.github.com/repos/exercism/xgo/releases{/id}","deployments_url":"https://api.github.com/repos/exercism/xgo/deployments","created_at":"2014-02-28T02:51:19Z","updated_at":"2016-10-02T17:34:50Z","pushed_at":"2016-10-02T18:55:38Z","git_url":"git://github.com/exercism/xgo.git","ssh_url":"git@github.com:exercism/xgo.git","clone_url":"https://github.com/exercism/xgo.git","svn_url":"https://github.com/exercism/xgo","homepage":null,"size":29089,"stargazers_count":135,"watchers_count":135,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":76,"mirror_url":null,"open_issues_count":37,"forks":76,"open_issues":37,"watchers":135,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/exercism/xgo/pulls/381"},"html":{"href":"https://github.com/exercism/xgo/pull/381"},"issue":{"href":"https://api.github.com/repos/exercism/xgo/issues/381"},"comments":{"href":"https://api.github.com/repos/exercism/xgo/issues/381/comments"},"review_comments":{"href":"https://api.github.com/repos/exercism/xgo/pulls/381/comments"},"review_comment":{"href":"https://api.github.com/repos/exercism/xgo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/exercism/xgo/pulls/381/commits"},"statuses":{"href":"https://api.github.com/repos/exercism/xgo/statuses/8d0076fb180ac348851a04f53539d634bfc21bb2"}}}}
{"actor":{"display_login":"mchoube"}}