{"action":"created","comment":{"url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/pulls/comments/34967618","id":34967618,"diff_hunk":"@@ -0,0 +1,182 @@\n+{  \n+   \"queries\":[  \n+      {  \n+         \"name\":\"q:{string}\",\n+         \"behaviour\":[  \n+            \"The supported string query is 'q:{string}'\",\n+            \"All whitespace is ignored and the queries are case-insensitive.\",\n+            \"The result is a single section that contains all items with the given string in their content.\"\n+         ],\n+         \"tests\":[  \n+            {  \n+               \"id\":1,\n+               \"freezeDate\" : null,\n+               \"currentUser\": null,\n+               \"context\":\"When asked for tasks with string 'Clean' using 'q:Clean' in input_strings.json\",\n+               \"query\":\"q:Clean\",\n+               \"testFile\":\"input_strings.json\",\n+               \"assertSections\":[  \n+                  {  \n+                     \"it\": \"should return 1 item in section 0\",\n+                     \"name\":\"Search for ‘Clean’\",\n+                     \"type\":\"Filtered\",\n+                     \"priority\":null,\n+                     \"date\":null,\n+                     \"project\":null,\n+                     \"items\":[1],\n+                     \"isReorderable\":false,\n+                     \"labels\":null\n+                  }\n+               ]\n+            },\n+            {  \n+               \"id\":2,\n+               \"freezeDate\" : null,\n+               \"currentUser\": null,\n+               \"context\":\"When asked for tasks with string 'call' using 'q:call' in input_strings.json\",\n+               \"query\":\"q:call\",\n+               \"testFile\":\"input_strings.json\",\n+               \"assertSections\":[  \n+                  {  \n+                    \"it\": \"should return 2 items in section 0\",\n+                     \"name\":\"Search for ‘call’\",\n+                     \"type\":\"Filtered\",\n+                     \"priority\":null,\n+                     \"date\":null,\n+                     \"project\":null,\n+                     \"items\":[3, 4],\n+                     \"isReorderable\":false,\n+                     \"labels\":[\"personal\",\"work\"]\n+                  }\n+               ]\n+            },\n+            {  \n+               \"id\":3,\n+               \"freezeDate\" : null,\n+               \"currentUser\": null,\n+               \"context\":\"When asked for tasks with string 'chumbawumba' using 'q:chumbawumba' in input_strings.json\",\n+               \"query\":\"q:chumbawumba\",\n+               \"testFile\":\"input_strings.json\",\n+               \"assertSections\":[  \n+                  {  \n+                     \"it\": \"should return 0 items in section 0\",\n+                     \"name\":\"Search for ‘chumbawumba’\",\n+                     \"type\":\"Filtered\",\n+                     \"priority\":null,\n+                     \"date\":null,\n+                     \"project\":null,\n+                     \"items\":null,\n+                     \"isReorderable\":false,\n+                     \"labels\":null\n+                  }\n+               ]\n+            },\n+            {  \n+               \"id\":4,\n+               \"freezeDate\" : null,\n+               \"currentUser\": null,\n+               \"context\":\"When asked for tasks with string 'Clean' using just 'Clean' in input_strings.json\",\n+               \"query\":\"Clean\",\n+               \"testFile\":\"input_strings.json\",\n+               \"assertSections\":[  \n+                  {  \n+                     \"it\": \"should return 1 item in section 0\",\n+                     \"name\":\"Search for ‘Clean’\",\n+                     \"type\":\"Filtered\",\n+                     \"priority\":null,\n+                     \"date\":null,\n+                     \"project\":null,\n+                     \"items\":[1],\n+                     \"isReorderable\":false,\n+                     \"labels\":null\n+                  }\n+               ]\n+            },\n+            {  \n+               \"id\":5,\n+               \"freezeDate\" : null,\n+               \"currentUser\": null,\n+               \"context\":\"When asked for tasks with string 'call' using just 'call' in input_strings.json\",\n+               \"query\":\"call\",\n+               \"testFile\":\"input_strings.json\",\n+               \"assertSections\":[  \n+                  {  \n+                    \"it\": \"should return 2 items in section 0\",\n+                     \"name\":\"Search for ‘call’\",\n+                     \"type\":\"Filtered\",\n+                     \"priority\":null,\n+                     \"date\":null,\n+                     \"project\":null,\n+                     \"items\":[3, 4],\n+                     \"isReorderable\":false,\n+                     \"labels\":[\"personal\",\"work\"]\n+                  }\n+               ]\n+            },\n+            {  \n+               \"id\":6,\n+               \"freezeDate\" : null,\n+               \"currentUser\": null,\n+               \"context\":\"When asked for tasks with string 'chumbawumba' using just 'chumbawumba' in input_strings.json\",\n+               \"query\":\"chumbawumba\",\n+               \"testFile\":\"input_strings.json\",\n+               \"assertSections\":[  \n+                  {  \n+                     \"it\": \"should return 0 items in section 0\",\n+                     \"name\":\"Search for ‘chumbawumba’\",\n+                     \"type\":\"Filtered\",\n+                     \"priority\":null,\n+                     \"date\":null,\n+                     \"project\":null,\n+                     \"items\":null,\n+                     \"isReorderable\":false,\n+                     \"labels\":null\n+                  }\n+               ]\n+            },\n+            {  \n+               \"id\":7,\n+               \"freezeDate\" : null,\n+               \"currentUser\": null,\n+               \"context\":\"When asked for tasks with string 'Buy Eggs' using 'q:Buy Eggs' in input_strings.json\",\n+               \"query\":\"q:Buy Eggs\",\n+               \"testFile\":\"input_strings.json\",\n+               \"assertSections\":[  \n+                  {  \n+                     \"it\": \"should return 1 item in section 0\",\n+                     \"name\":\"Search for ‘Buy Eggs’\",\n+                     \"type\":\"Filtered\",\n+                     \"priority\":null,\n+                     \"date\":null,\n+                     \"project\":null,\n+                     \"items\":null,\n+                     \"isReorderable\":false,\n+                     \"labels\":null\n+                  }\n+               ]\n+            },\n+            {  \n+               \"id\":8,\n+               \"freezeDate\" : null,\n+               \"currentUser\": null,\n+               \"context\":\"When asked for tasks with string 'Buy Eggs' using just 'Buy Eggs' in input_strings.json\",\n+               \"query\":\"Buy Eggs\",\n+               \"testFile\":\"input_strings.json\",\n+               \"assertSections\":[  \n+                  {  \n+                     \"it\": \"should return 1 item in section 0\",\n+                     \"name\":\"Search for ‘Buy Eggs’\",\n+                     \"type\":\"Filtered\",\n+                     \"priority\":null,\n+                     \"date\":null,\n+                     \"project\":null,\n+                     \"items\":null,\n+                     \"isReorderable\":false,\n+                     \"labels\":null\n+                  }\n+               ]\n+            }\n+         ]\n+      }","path":"spec_strings.json","position":180,"original_position":180,"commit_id":"4065cea5d55ca7fa498769d465fff6e41dc0a1a2","original_commit_id":"4065cea5d55ca7fa498769d465fff6e41dc0a1a2","user":{"login":"anupcowkur","id":1691740,"avatar_url":"https://avatars.githubusercontent.com/u/1691740?v=3","gravatar_id":"","url":"https://api.github.com/users/anupcowkur","html_url":"https://github.com/anupcowkur","followers_url":"https://api.github.com/users/anupcowkur/followers","following_url":"https://api.github.com/users/anupcowkur/following{/other_user}","gists_url":"https://api.github.com/users/anupcowkur/gists{/gist_id}","starred_url":"https://api.github.com/users/anupcowkur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anupcowkur/subscriptions","organizations_url":"https://api.github.com/users/anupcowkur/orgs","repos_url":"https://api.github.com/users/anupcowkur/repos","events_url":"https://api.github.com/users/anupcowkur/events{/privacy}","received_events_url":"https://api.github.com/users/anupcowkur/received_events","type":"User","site_admin":false},"body":"and it should an empty item list, correct?","created_at":"2015-07-20T04:01:51Z","updated_at":"2015-07-20T04:01:51Z","html_url":"https://github.com/Doist/TDFilterKitTestSources/pull/9#discussion_r34967618","pull_request_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/Doist/TDFilterKitTestSources/pulls/comments/34967618"},"html":{"href":"https://github.com/Doist/TDFilterKitTestSources/pull/9#discussion_r34967618"},"pull_request":{"href":"https://api.github.com/repos/Doist/TDFilterKitTestSources/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/pulls/9","id":40108162,"html_url":"https://github.com/Doist/TDFilterKitTestSources/pull/9","diff_url":"https://github.com/Doist/TDFilterKitTestSources/pull/9.diff","patch_url":"https://github.com/Doist/TDFilterKitTestSources/pull/9.patch","issue_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/issues/9","number":9,"state":"open","locked":false,"title":"Strings filter spec","user":{"login":"anupcowkur","id":1691740,"avatar_url":"https://avatars.githubusercontent.com/u/1691740?v=3","gravatar_id":"","url":"https://api.github.com/users/anupcowkur","html_url":"https://github.com/anupcowkur","followers_url":"https://api.github.com/users/anupcowkur/followers","following_url":"https://api.github.com/users/anupcowkur/following{/other_user}","gists_url":"https://api.github.com/users/anupcowkur/gists{/gist_id}","starred_url":"https://api.github.com/users/anupcowkur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anupcowkur/subscriptions","organizations_url":"https://api.github.com/users/anupcowkur/orgs","repos_url":"https://api.github.com/users/anupcowkur/repos","events_url":"https://api.github.com/users/anupcowkur/events{/privacy}","received_events_url":"https://api.github.com/users/anupcowkur/received_events","type":"User","site_admin":false},"body":"A spec for filtering using `q:{string}` and just `{string}` queries and it's associated test data.","created_at":"2015-07-16T09:04:01Z","updated_at":"2015-07-20T04:01:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9df57bc0ae2b8dc974843e371f7b79a299b826e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/pulls/9/commits","review_comments_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/pulls/9/comments","review_comment_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/issues/9/comments","statuses_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/statuses/4065cea5d55ca7fa498769d465fff6e41dc0a1a2","head":{"label":"Doist:stringsFilterSpec","ref":"stringsFilterSpec","sha":"4065cea5d55ca7fa498769d465fff6e41dc0a1a2","user":{"login":"Doist","id":2565372,"avatar_url":"https://avatars.githubusercontent.com/u/2565372?v=3","gravatar_id":"","url":"https://api.github.com/users/Doist","html_url":"https://github.com/Doist","followers_url":"https://api.github.com/users/Doist/followers","following_url":"https://api.github.com/users/Doist/following{/other_user}","gists_url":"https://api.github.com/users/Doist/gists{/gist_id}","starred_url":"https://api.github.com/users/Doist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Doist/subscriptions","organizations_url":"https://api.github.com/users/Doist/orgs","repos_url":"https://api.github.com/users/Doist/repos","events_url":"https://api.github.com/users/Doist/events{/privacy}","received_events_url":"https://api.github.com/users/Doist/received_events","type":"Organization","site_admin":false},"repo":{"id":38826340,"name":"TDFilterKitTestSources","full_name":"Doist/TDFilterKitTestSources","owner":{"login":"Doist","id":2565372,"avatar_url":"https://avatars.githubusercontent.com/u/2565372?v=3","gravatar_id":"","url":"https://api.github.com/users/Doist","html_url":"https://github.com/Doist","followers_url":"https://api.github.com/users/Doist/followers","following_url":"https://api.github.com/users/Doist/following{/other_user}","gists_url":"https://api.github.com/users/Doist/gists{/gist_id}","starred_url":"https://api.github.com/users/Doist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Doist/subscriptions","organizations_url":"https://api.github.com/users/Doist/orgs","repos_url":"https://api.github.com/users/Doist/repos","events_url":"https://api.github.com/users/Doist/events{/privacy}","received_events_url":"https://api.github.com/users/Doist/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Doist/TDFilterKitTestSources","description":"The json spec from where the tests are generated and the test data.","fork":false,"url":"https://api.github.com/repos/Doist/TDFilterKitTestSources","forks_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/forks","keys_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/teams","hooks_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/hooks","issue_events_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/issues/events{/number}","events_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/events","assignees_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/assignees{/user}","branches_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/branches{/branch}","tags_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/tags","blobs_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/git/refs{/sha}","trees_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/statuses/{sha}","languages_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/languages","stargazers_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/stargazers","contributors_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/contributors","subscribers_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/subscribers","subscription_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/subscription","commits_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/commits{/sha}","git_commits_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/git/commits{/sha}","comments_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/comments{/number}","issue_comment_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/issues/comments{/number}","contents_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/contents/{+path}","compare_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/merges","archive_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/downloads","issues_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/issues{/number}","pulls_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/pulls{/number}","milestones_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/milestones{/number}","notifications_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/labels{/name}","releases_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/releases{/id}","created_at":"2015-07-09T14:46:17Z","updated_at":"2015-07-13T08:02:58Z","pushed_at":"2015-07-17T16:37:11Z","git_url":"git://github.com/Doist/TDFilterKitTestSources.git","ssh_url":"git@github.com:Doist/TDFilterKitTestSources.git","clone_url":"https://github.com/Doist/TDFilterKitTestSources.git","svn_url":"https://github.com/Doist/TDFilterKitTestSources","homepage":null,"size":368,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"Doist:master","ref":"master","sha":"03c61be369faab9b967152166073368169cc3a8a","user":{"login":"Doist","id":2565372,"avatar_url":"https://avatars.githubusercontent.com/u/2565372?v=3","gravatar_id":"","url":"https://api.github.com/users/Doist","html_url":"https://github.com/Doist","followers_url":"https://api.github.com/users/Doist/followers","following_url":"https://api.github.com/users/Doist/following{/other_user}","gists_url":"https://api.github.com/users/Doist/gists{/gist_id}","starred_url":"https://api.github.com/users/Doist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Doist/subscriptions","organizations_url":"https://api.github.com/users/Doist/orgs","repos_url":"https://api.github.com/users/Doist/repos","events_url":"https://api.github.com/users/Doist/events{/privacy}","received_events_url":"https://api.github.com/users/Doist/received_events","type":"Organization","site_admin":false},"repo":{"id":38826340,"name":"TDFilterKitTestSources","full_name":"Doist/TDFilterKitTestSources","owner":{"login":"Doist","id":2565372,"avatar_url":"https://avatars.githubusercontent.com/u/2565372?v=3","gravatar_id":"","url":"https://api.github.com/users/Doist","html_url":"https://github.com/Doist","followers_url":"https://api.github.com/users/Doist/followers","following_url":"https://api.github.com/users/Doist/following{/other_user}","gists_url":"https://api.github.com/users/Doist/gists{/gist_id}","starred_url":"https://api.github.com/users/Doist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Doist/subscriptions","organizations_url":"https://api.github.com/users/Doist/orgs","repos_url":"https://api.github.com/users/Doist/repos","events_url":"https://api.github.com/users/Doist/events{/privacy}","received_events_url":"https://api.github.com/users/Doist/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Doist/TDFilterKitTestSources","description":"The json spec from where the tests are generated and the test data.","fork":false,"url":"https://api.github.com/repos/Doist/TDFilterKitTestSources","forks_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/forks","keys_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/teams","hooks_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/hooks","issue_events_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/issues/events{/number}","events_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/events","assignees_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/assignees{/user}","branches_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/branches{/branch}","tags_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/tags","blobs_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/git/refs{/sha}","trees_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/statuses/{sha}","languages_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/languages","stargazers_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/stargazers","contributors_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/contributors","subscribers_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/subscribers","subscription_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/subscription","commits_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/commits{/sha}","git_commits_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/git/commits{/sha}","comments_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/comments{/number}","issue_comment_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/issues/comments{/number}","contents_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/contents/{+path}","compare_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/merges","archive_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/downloads","issues_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/issues{/number}","pulls_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/pulls{/number}","milestones_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/milestones{/number}","notifications_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/labels{/name}","releases_url":"https://api.github.com/repos/Doist/TDFilterKitTestSources/releases{/id}","created_at":"2015-07-09T14:46:17Z","updated_at":"2015-07-13T08:02:58Z","pushed_at":"2015-07-17T16:37:11Z","git_url":"git://github.com/Doist/TDFilterKitTestSources.git","ssh_url":"git@github.com:Doist/TDFilterKitTestSources.git","clone_url":"https://github.com/Doist/TDFilterKitTestSources.git","svn_url":"https://github.com/Doist/TDFilterKitTestSources","homepage":null,"size":368,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Doist/TDFilterKitTestSources/pulls/9"},"html":{"href":"https://github.com/Doist/TDFilterKitTestSources/pull/9"},"issue":{"href":"https://api.github.com/repos/Doist/TDFilterKitTestSources/issues/9"},"comments":{"href":"https://api.github.com/repos/Doist/TDFilterKitTestSources/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/Doist/TDFilterKitTestSources/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/Doist/TDFilterKitTestSources/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Doist/TDFilterKitTestSources/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/Doist/TDFilterKitTestSources/statuses/4065cea5d55ca7fa498769d465fff6e41dc0a1a2"}}}}