{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/brew/pulls/comments/214583457","pull_request_review_id":151668413,"id":214583457,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDU4MzQ1Nw==","diff_hunk":"@@ -82,6 +82,14 @@ def audit_formula(_node, _class_node, _parent_class_node, body_node)\n             return\n           end\n \n+          if test.body.single_line? &&","path":"Library/Homebrew/rubocops/class_cop.rb","position":4,"original_position":4,"commit_id":"28f3b3b8395099ecf0458fa044a2a5108f12f826","original_commit_id":"28f3b3b8395099ecf0458fa044a2a5108f12f826","user":{"login":"reitermarkus","id":1309829,"node_id":"MDQ6VXNlcjEzMDk4Mjk=","avatar_url":"https://avatars2.githubusercontent.com/u/1309829?v=4","gravatar_id":"","url":"https://api.github.com/users/reitermarkus","html_url":"https://github.com/reitermarkus","followers_url":"https://api.github.com/users/reitermarkus/followers","following_url":"https://api.github.com/users/reitermarkus/following{/other_user}","gists_url":"https://api.github.com/users/reitermarkus/gists{/gist_id}","starred_url":"https://api.github.com/users/reitermarkus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reitermarkus/subscriptions","organizations_url":"https://api.github.com/users/reitermarkus/orgs","repos_url":"https://api.github.com/users/reitermarkus/repos","events_url":"https://api.github.com/users/reitermarkus/events{/privacy}","received_events_url":"https://api.github.com/users/reitermarkus/received_events","type":"User","site_admin":false},"body":"Does something like `single_statement?` exist?","created_at":"2018-09-03T06:07:52Z","updated_at":"2018-09-03T06:07:52Z","html_url":"https://github.com/Homebrew/brew/pull/4801#discussion_r214583457","pull_request_url":"https://api.github.com/repos/Homebrew/brew/pulls/4801","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/brew/pulls/comments/214583457"},"html":{"href":"https://github.com/Homebrew/brew/pull/4801#discussion_r214583457"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/brew/pulls/4801"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/brew/pulls/4801","id":212635950,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyNjM1OTUw","html_url":"https://github.com/Homebrew/brew/pull/4801","diff_url":"https://github.com/Homebrew/brew/pull/4801.diff","patch_url":"https://github.com/Homebrew/brew/pull/4801.patch","issue_url":"https://api.github.com/repos/Homebrew/brew/issues/4801","number":4801,"state":"open","locked":false,"title":"class_cop: flag simple tests","user":{"login":"DomT4","id":6998367,"node_id":"MDQ6VXNlcjY5OTgzNjc=","avatar_url":"https://avatars0.githubusercontent.com/u/6998367?v=4","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"body":"- [x] Have you followed the guidelines in our [Contributing](https://github.com/Homebrew/brew/blob/master/CONTRIBUTING.md) document?\r\n- [x] Have you checked to ensure there aren't other open [Pull Requests](https://github.com/Homebrew/brew/pulls) for the same change?\r\n- [x] Have you added an explanation of what your changes do and why you'd like us to include them?\r\n- [x] Have you written new tests for your changes? [Here's an example](https://github.com/Homebrew/brew/blob/master/Library/Homebrew/test/PATH_spec.rb).\r\n- [x] Have you successfully run `brew style` with your changes locally?\r\n- [x] Have you successfully run `brew tests` with your changes locally?\r\n\r\n-----\r\n\r\nWe have too many of these in core, they aren't an effective test, things _alarmingly often_ break in some way or another despite this being the formula's test, and I am tired of seeing my own quick reply asking for a better test on new formulae around core.\r\n\r\nNote: If people see the `single_line?` element here & try to work around that by splitting lines I will see, and I will thwack that as well 👀 😈.","created_at":"2018-09-03T04:05:08Z","updated_at":"2018-09-03T06:07:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ead5c2501d229cf50ff36d51281317442820b775","assignee":{"login":"DomT4","id":6998367,"node_id":"MDQ6VXNlcjY5OTgzNjc=","avatar_url":"https://avatars0.githubusercontent.com/u/6998367?v=4","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"assignees":[{"login":"DomT4","id":6998367,"node_id":"MDQ6VXNlcjY5OTgzNjc=","avatar_url":"https://avatars0.githubusercontent.com/u/6998367?v=4","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":351931983,"node_id":"MDU6TGFiZWwzNTE5MzE5ODM=","url":"https://api.github.com/repos/Homebrew/brew/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/brew/pulls/4801/commits","review_comments_url":"https://api.github.com/repos/Homebrew/brew/pulls/4801/comments","review_comment_url":"https://api.github.com/repos/Homebrew/brew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/4801/comments","statuses_url":"https://api.github.com/repos/Homebrew/brew/statuses/28f3b3b8395099ecf0458fa044a2a5108f12f826","head":{"label":"DomT4:rigorous_testing_plz","ref":"rigorous_testing_plz","sha":"28f3b3b8395099ecf0458fa044a2a5108f12f826","user":{"login":"DomT4","id":6998367,"node_id":"MDQ6VXNlcjY5OTgzNjc=","avatar_url":"https://avatars0.githubusercontent.com/u/6998367?v=4","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"repo":{"id":55303613,"node_id":"MDEwOlJlcG9zaXRvcnk1NTMwMzYxMw==","name":"brew","full_name":"DomT4/brew","owner":{"login":"DomT4","id":6998367,"node_id":"MDQ6VXNlcjY5OTgzNjc=","avatar_url":"https://avatars0.githubusercontent.com/u/6998367?v=4","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DomT4/brew","description":":beer: The missing package manager for macOS","fork":true,"url":"https://api.github.com/repos/DomT4/brew","forks_url":"https://api.github.com/repos/DomT4/brew/forks","keys_url":"https://api.github.com/repos/DomT4/brew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DomT4/brew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DomT4/brew/teams","hooks_url":"https://api.github.com/repos/DomT4/brew/hooks","issue_events_url":"https://api.github.com/repos/DomT4/brew/issues/events{/number}","events_url":"https://api.github.com/repos/DomT4/brew/events","assignees_url":"https://api.github.com/repos/DomT4/brew/assignees{/user}","branches_url":"https://api.github.com/repos/DomT4/brew/branches{/branch}","tags_url":"https://api.github.com/repos/DomT4/brew/tags","blobs_url":"https://api.github.com/repos/DomT4/brew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DomT4/brew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DomT4/brew/git/refs{/sha}","trees_url":"https://api.github.com/repos/DomT4/brew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DomT4/brew/statuses/{sha}","languages_url":"https://api.github.com/repos/DomT4/brew/languages","stargazers_url":"https://api.github.com/repos/DomT4/brew/stargazers","contributors_url":"https://api.github.com/repos/DomT4/brew/contributors","subscribers_url":"https://api.github.com/repos/DomT4/brew/subscribers","subscription_url":"https://api.github.com/repos/DomT4/brew/subscription","commits_url":"https://api.github.com/repos/DomT4/brew/commits{/sha}","git_commits_url":"https://api.github.com/repos/DomT4/brew/git/commits{/sha}","comments_url":"https://api.github.com/repos/DomT4/brew/comments{/number}","issue_comment_url":"https://api.github.com/repos/DomT4/brew/issues/comments{/number}","contents_url":"https://api.github.com/repos/DomT4/brew/contents/{+path}","compare_url":"https://api.github.com/repos/DomT4/brew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DomT4/brew/merges","archive_url":"https://api.github.com/repos/DomT4/brew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DomT4/brew/downloads","issues_url":"https://api.github.com/repos/DomT4/brew/issues{/number}","pulls_url":"https://api.github.com/repos/DomT4/brew/pulls{/number}","milestones_url":"https://api.github.com/repos/DomT4/brew/milestones{/number}","notifications_url":"https://api.github.com/repos/DomT4/brew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DomT4/brew/labels{/name}","releases_url":"https://api.github.com/repos/DomT4/brew/releases{/id}","deployments_url":"https://api.github.com/repos/DomT4/brew/deployments","created_at":"2016-04-02T16:09:20Z","updated_at":"2018-09-02T16:34:22Z","pushed_at":"2018-09-03T04:00:58Z","git_url":"git://github.com/DomT4/brew.git","ssh_url":"git@github.com:DomT4/brew.git","clone_url":"https://github.com/DomT4/brew.git","svn_url":"https://github.com/DomT4/brew","homepage":"https://brew.sh/","size":25327,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"3b91c5f1ae1381ee90ed5c1391a9a7a8ff70202c","user":{"login":"Homebrew","id":1503512,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MDM1MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1503512?v=4","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"repo":{"id":53238813,"node_id":"MDEwOlJlcG9zaXRvcnk1MzIzODgxMw==","name":"brew","full_name":"Homebrew/brew","owner":{"login":"Homebrew","id":1503512,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MDM1MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1503512?v=4","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Homebrew/brew","description":"🍺 The missing package manager for macOS","fork":false,"url":"https://api.github.com/repos/Homebrew/brew","forks_url":"https://api.github.com/repos/Homebrew/brew/forks","keys_url":"https://api.github.com/repos/Homebrew/brew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/brew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/brew/teams","hooks_url":"https://api.github.com/repos/Homebrew/brew/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/brew/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/brew/events","assignees_url":"https://api.github.com/repos/Homebrew/brew/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/brew/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/brew/tags","blobs_url":"https://api.github.com/repos/Homebrew/brew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/brew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/brew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/brew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/brew/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/brew/languages","stargazers_url":"https://api.github.com/repos/Homebrew/brew/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/brew/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/brew/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/brew/subscription","commits_url":"https://api.github.com/repos/Homebrew/brew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/brew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/brew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/brew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/brew/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/brew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/brew/merges","archive_url":"https://api.github.com/repos/Homebrew/brew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/brew/downloads","issues_url":"https://api.github.com/repos/Homebrew/brew/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/brew/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/brew/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/brew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/brew/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/brew/releases{/id}","deployments_url":"https://api.github.com/repos/Homebrew/brew/deployments","created_at":"2016-03-06T05:08:38Z","updated_at":"2018-09-03T04:24:55Z","pushed_at":"2018-09-03T05:02:02Z","git_url":"git://github.com/Homebrew/brew.git","ssh_url":"git@github.com:Homebrew/brew.git","clone_url":"https://github.com/Homebrew/brew.git","svn_url":"https://github.com/Homebrew/brew","homepage":"https://brew.sh","size":25310,"stargazers_count":13783,"watchers_count":13783,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":3133,"mirror_url":null,"archived":false,"open_issues_count":27,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":3133,"open_issues":27,"watchers":13783,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/brew/pulls/4801"},"html":{"href":"https://github.com/Homebrew/brew/pull/4801"},"issue":{"href":"https://api.github.com/repos/Homebrew/brew/issues/4801"},"comments":{"href":"https://api.github.com/repos/Homebrew/brew/issues/4801/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/brew/pulls/4801/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/brew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/brew/pulls/4801/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/brew/statuses/28f3b3b8395099ecf0458fa044a2a5108f12f826"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"reitermarkus"}}