{"action":"created","comment":{"url":"https://api.github.com/repos/exercism/x-common/pulls/comments/78271786","id":78271786,"diff_hunk":"@@ -67,6 +67,33 @@\n                 ]\n             },\n             {\n+                \"description\": \"One file, one match, print file names flag\",\n+                \"pattern\": \"Forbidden\",\n+                \"flags\": [\"-l\"],\n+                \"files\": [\"paradise-lost.txt\"],\n+                \"expected\": [\n+                    \"paradise-lost.txt\"\n+                ]\n+            },\n+            {\n+                \"description\": \"One file, one match, match entire lines flag\",\n+                \"pattern\": \"With loss of Eden, till one greater Man\",\n+                \"flags\": [\"-x\"],\n+                \"files\": [\"paradise-lost.txt\"],\n+                \"expected\": [\n+                    \"With loss of Eden, till one greater Man\"\n+                ]\n+            },\n+            {\n+                \"description\": \"One file, one match, multiple flags\",\n+                \"pattern\": \"OF ATREUS, Agamemnon, KIng of MEN.\",\n+                \"flags\": [\"-n\", \"-i\", \"-x\"],","path":"exercises/grep/canonical-data.json","position":42,"original_position":24,"commit_id":"0e0e0a1892476062865879ce261eb08f2b31d88f","original_commit_id":"2556a8732c2e8f62bb5bfb8fda54a647ba72ae03","user":{"login":"rmunn","id":90762,"avatar_url":"https://avatars.githubusercontent.com/u/90762?v=3","gravatar_id":"","url":"https://api.github.com/users/rmunn","html_url":"https://github.com/rmunn","followers_url":"https://api.github.com/users/rmunn/followers","following_url":"https://api.github.com/users/rmunn/following{/other_user}","gists_url":"https://api.github.com/users/rmunn/gists{/gist_id}","starred_url":"https://api.github.com/users/rmunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmunn/subscriptions","organizations_url":"https://api.github.com/users/rmunn/orgs","repos_url":"https://api.github.com/users/rmunn/repos","events_url":"https://api.github.com/users/rmunn/events{/privacy}","received_events_url":"https://api.github.com/users/rmunn/received_events","type":"User","site_admin":false},"body":"Good point. My latest commit adds a couple more tests so that the flags will be introduced one at a time before the multiple-flags test shows up. With this commit, I think the test is now in a sensible order.","created_at":"2016-09-10T05:46:34Z","updated_at":"2016-09-10T05:46:34Z","html_url":"https://github.com/exercism/x-common/pull/369#discussion_r78271786","pull_request_url":"https://api.github.com/repos/exercism/x-common/pulls/369","_links":{"self":{"href":"https://api.github.com/repos/exercism/x-common/pulls/comments/78271786"},"html":{"href":"https://github.com/exercism/x-common/pull/369#discussion_r78271786"},"pull_request":{"href":"https://api.github.com/repos/exercism/x-common/pulls/369"}}},"pull_request":{"url":"https://api.github.com/repos/exercism/x-common/pulls/369","id":84622221,"html_url":"https://github.com/exercism/x-common/pull/369","diff_url":"https://github.com/exercism/x-common/pull/369.diff","patch_url":"https://github.com/exercism/x-common/pull/369.patch","issue_url":"https://api.github.com/repos/exercism/x-common/issues/369","number":369,"state":"open","locked":false,"title":"Test that \"match entire lines\" flag works properly","user":{"login":"rmunn","id":90762,"avatar_url":"https://avatars.githubusercontent.com/u/90762?v=3","gravatar_id":"","url":"https://api.github.com/users/rmunn","html_url":"https://github.com/rmunn","followers_url":"https://api.github.com/users/rmunn/followers","following_url":"https://api.github.com/users/rmunn/following{/other_user}","gists_url":"https://api.github.com/users/rmunn/gists{/gist_id}","starred_url":"https://api.github.com/users/rmunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmunn/subscriptions","organizations_url":"https://api.github.com/users/rmunn/orgs","repos_url":"https://api.github.com/users/rmunn/repos","events_url":"https://api.github.com/users/rmunn/events{/privacy}","received_events_url":"https://api.github.com/users/rmunn/received_events","type":"User","site_admin":false},"body":"Without this test, a solution to the \"grep\" exercise could get away with just ignoring the \"-x\" flag and having it not affect the code's behavior.\r\n\r\nFixes #368.","created_at":"2016-09-09T09:44:06Z","updated_at":"2016-09-10T05:46:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e157ef2af5ff82bfdd0a44b37c798438881aab0e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/exercism/x-common/pulls/369/commits","review_comments_url":"https://api.github.com/repos/exercism/x-common/pulls/369/comments","review_comment_url":"https://api.github.com/repos/exercism/x-common/pulls/comments{/number}","comments_url":"https://api.github.com/repos/exercism/x-common/issues/369/comments","statuses_url":"https://api.github.com/repos/exercism/x-common/statuses/0e0e0a1892476062865879ce261eb08f2b31d88f","head":{"label":"rmunn:fix-grep","ref":"fix-grep","sha":"0e0e0a1892476062865879ce261eb08f2b31d88f","user":{"login":"rmunn","id":90762,"avatar_url":"https://avatars.githubusercontent.com/u/90762?v=3","gravatar_id":"","url":"https://api.github.com/users/rmunn","html_url":"https://github.com/rmunn","followers_url":"https://api.github.com/users/rmunn/followers","following_url":"https://api.github.com/users/rmunn/following{/other_user}","gists_url":"https://api.github.com/users/rmunn/gists{/gist_id}","starred_url":"https://api.github.com/users/rmunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmunn/subscriptions","organizations_url":"https://api.github.com/users/rmunn/orgs","repos_url":"https://api.github.com/users/rmunn/repos","events_url":"https://api.github.com/users/rmunn/events{/privacy}","received_events_url":"https://api.github.com/users/rmunn/received_events","type":"User","site_admin":false},"repo":{"id":65165648,"name":"x-common","full_name":"rmunn/x-common","owner":{"login":"rmunn","id":90762,"avatar_url":"https://avatars.githubusercontent.com/u/90762?v=3","gravatar_id":"","url":"https://api.github.com/users/rmunn","html_url":"https://github.com/rmunn","followers_url":"https://api.github.com/users/rmunn/followers","following_url":"https://api.github.com/users/rmunn/following{/other_user}","gists_url":"https://api.github.com/users/rmunn/gists{/gist_id}","starred_url":"https://api.github.com/users/rmunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmunn/subscriptions","organizations_url":"https://api.github.com/users/rmunn/orgs","repos_url":"https://api.github.com/users/rmunn/repos","events_url":"https://api.github.com/users/rmunn/events{/privacy}","received_events_url":"https://api.github.com/users/rmunn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rmunn/x-common","description":"Shared metadata for exercism exercises.","fork":true,"url":"https://api.github.com/repos/rmunn/x-common","forks_url":"https://api.github.com/repos/rmunn/x-common/forks","keys_url":"https://api.github.com/repos/rmunn/x-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rmunn/x-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rmunn/x-common/teams","hooks_url":"https://api.github.com/repos/rmunn/x-common/hooks","issue_events_url":"https://api.github.com/repos/rmunn/x-common/issues/events{/number}","events_url":"https://api.github.com/repos/rmunn/x-common/events","assignees_url":"https://api.github.com/repos/rmunn/x-common/assignees{/user}","branches_url":"https://api.github.com/repos/rmunn/x-common/branches{/branch}","tags_url":"https://api.github.com/repos/rmunn/x-common/tags","blobs_url":"https://api.github.com/repos/rmunn/x-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rmunn/x-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rmunn/x-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/rmunn/x-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rmunn/x-common/statuses/{sha}","languages_url":"https://api.github.com/repos/rmunn/x-common/languages","stargazers_url":"https://api.github.com/repos/rmunn/x-common/stargazers","contributors_url":"https://api.github.com/repos/rmunn/x-common/contributors","subscribers_url":"https://api.github.com/repos/rmunn/x-common/subscribers","subscription_url":"https://api.github.com/repos/rmunn/x-common/subscription","commits_url":"https://api.github.com/repos/rmunn/x-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/rmunn/x-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/rmunn/x-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/rmunn/x-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/rmunn/x-common/contents/{+path}","compare_url":"https://api.github.com/repos/rmunn/x-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rmunn/x-common/merges","archive_url":"https://api.github.com/repos/rmunn/x-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rmunn/x-common/downloads","issues_url":"https://api.github.com/repos/rmunn/x-common/issues{/number}","pulls_url":"https://api.github.com/repos/rmunn/x-common/pulls{/number}","milestones_url":"https://api.github.com/repos/rmunn/x-common/milestones{/number}","notifications_url":"https://api.github.com/repos/rmunn/x-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rmunn/x-common/labels{/name}","releases_url":"https://api.github.com/repos/rmunn/x-common/releases{/id}","deployments_url":"https://api.github.com/repos/rmunn/x-common/deployments","created_at":"2016-08-08T02:17:06Z","updated_at":"2016-08-08T02:17:07Z","pushed_at":"2016-09-10T05:44:56Z","git_url":"git://github.com/rmunn/x-common.git","ssh_url":"git@github.com:rmunn/x-common.git","clone_url":"https://github.com/rmunn/x-common.git","svn_url":"https://github.com/rmunn/x-common","homepage":null,"size":616,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"47a2f5c1741a07596befca42872a4652a5ec568e","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":17259886,"name":"x-common","full_name":"exercism/x-common","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/x-common","description":"Shared metadata for exercism exercises.","fork":false,"url":"https://api.github.com/repos/exercism/x-common","forks_url":"https://api.github.com/repos/exercism/x-common/forks","keys_url":"https://api.github.com/repos/exercism/x-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exercism/x-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exercism/x-common/teams","hooks_url":"https://api.github.com/repos/exercism/x-common/hooks","issue_events_url":"https://api.github.com/repos/exercism/x-common/issues/events{/number}","events_url":"https://api.github.com/repos/exercism/x-common/events","assignees_url":"https://api.github.com/repos/exercism/x-common/assignees{/user}","branches_url":"https://api.github.com/repos/exercism/x-common/branches{/branch}","tags_url":"https://api.github.com/repos/exercism/x-common/tags","blobs_url":"https://api.github.com/repos/exercism/x-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exercism/x-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exercism/x-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/exercism/x-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exercism/x-common/statuses/{sha}","languages_url":"https://api.github.com/repos/exercism/x-common/languages","stargazers_url":"https://api.github.com/repos/exercism/x-common/stargazers","contributors_url":"https://api.github.com/repos/exercism/x-common/contributors","subscribers_url":"https://api.github.com/repos/exercism/x-common/subscribers","subscription_url":"https://api.github.com/repos/exercism/x-common/subscription","commits_url":"https://api.github.com/repos/exercism/x-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/exercism/x-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/exercism/x-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/exercism/x-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/exercism/x-common/contents/{+path}","compare_url":"https://api.github.com/repos/exercism/x-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exercism/x-common/merges","archive_url":"https://api.github.com/repos/exercism/x-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exercism/x-common/downloads","issues_url":"https://api.github.com/repos/exercism/x-common/issues{/number}","pulls_url":"https://api.github.com/repos/exercism/x-common/pulls{/number}","milestones_url":"https://api.github.com/repos/exercism/x-common/milestones{/number}","notifications_url":"https://api.github.com/repos/exercism/x-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exercism/x-common/labels{/name}","releases_url":"https://api.github.com/repos/exercism/x-common/releases{/id}","deployments_url":"https://api.github.com/repos/exercism/x-common/deployments","created_at":"2014-02-27T18:40:48Z","updated_at":"2016-08-29T01:48:09Z","pushed_at":"2016-09-10T05:44:57Z","git_url":"git://github.com/exercism/x-common.git","ssh_url":"git@github.com:exercism/x-common.git","clone_url":"https://github.com/exercism/x-common.git","svn_url":"https://github.com/exercism/x-common","homepage":null,"size":755,"stargazers_count":67,"watchers_count":67,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":138,"mirror_url":null,"open_issues_count":50,"forks":138,"open_issues":50,"watchers":67,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/exercism/x-common/pulls/369"},"html":{"href":"https://github.com/exercism/x-common/pull/369"},"issue":{"href":"https://api.github.com/repos/exercism/x-common/issues/369"},"comments":{"href":"https://api.github.com/repos/exercism/x-common/issues/369/comments"},"review_comments":{"href":"https://api.github.com/repos/exercism/x-common/pulls/369/comments"},"review_comment":{"href":"https://api.github.com/repos/exercism/x-common/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/exercism/x-common/pulls/369/commits"},"statuses":{"href":"https://api.github.com/repos/exercism/x-common/statuses/0e0e0a1892476062865879ce261eb08f2b31d88f"}}}}
{"actor":{"display_login":"rmunn"}}