{"action":"created","comment":{"url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/pulls/comments/49737262","id":49737262,"diff_hunk":"@@ -0,0 +1,32 @@\n+-module(tt_store_suite).\n+-include_lib(\"common_test/include/ct.hrl\").\n+\n+-export([all/0]).\n+-export([test0/1, test1/1, test2/1, test3/1]).\n+\n+all() -> [test0, test1, test2].\n+\n+test0(_) ->\n+    tt_store:start_link(),\n+    tt_store:add(\"Bum\", {10,0,0}, {11,0,0}, \"Bah\"),\n+    Res = tt_store:find_by_time({10,0,0}, {11,0,0}),\n+    Res = [{talk,\"Bum\",{10,0,0},{11,0,0},\"Bah\"}].","path":"test/tt_store_suite.erl","position":13,"original_position":13,"commit_id":"48b09ae4295e2e2cdd558ae8c2af8838bdce63dc","original_commit_id":"48b09ae4295e2e2cdd558ae8c2af8838bdce63dc","user":{"login":"mentels","id":748608,"avatar_url":"https://avatars.githubusercontent.com/u/748608?v=3","gravatar_id":"","url":"https://api.github.com/users/mentels","html_url":"https://github.com/mentels","followers_url":"https://api.github.com/users/mentels/followers","following_url":"https://api.github.com/users/mentels/following{/other_user}","gists_url":"https://api.github.com/users/mentels/gists{/gist_id}","starred_url":"https://api.github.com/users/mentels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mentels/subscriptions","organizations_url":"https://api.github.com/users/mentels/orgs","repos_url":"https://api.github.com/users/mentels/repos","events_url":"https://api.github.com/users/mentels/events{/privacy}","received_events_url":"https://api.github.com/users/mentels/received_events","type":"User","site_admin":false},"body":"Use [EUnit](http://www.erlang.org/doc/apps/eunit/chapter.html) assertions in tests:\r\n\r\n```erlang\r\n -include_lib(\"eunit/include/eunit.hrl\").\r\n...\r\ntest0(_) ->\r\n     tt_store:start_link(),\r\n     tt_store:add(\"Bum\", {10,0,0}, {11,0,0}, \"Bah\"),\r\n     Res = tt_store:find_by_time({10,0,0}, {11,0,0}),\r\n     ?assertMatch([{talk,\"Bum\",{10,0,0},{11,0,0},\"Bah\"}], Rest).\r\n```","created_at":"2016-01-14T15:12:38Z","updated_at":"2016-01-14T15:12:38Z","html_url":"https://github.com/lambdaacademy/2015.12_erlang/pull/4#discussion_r49737262","pull_request_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/pulls/comments/49737262"},"html":{"href":"https://github.com/lambdaacademy/2015.12_erlang/pull/4#discussion_r49737262"},"pull_request":{"href":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/pulls/4","id":55977497,"html_url":"https://github.com/lambdaacademy/2015.12_erlang/pull/4","diff_url":"https://github.com/lambdaacademy/2015.12_erlang/pull/4.diff","patch_url":"https://github.com/lambdaacademy/2015.12_erlang/pull/4.patch","issue_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/issues/4","number":4,"state":"open","locked":false,"title":"tt_store to code review","user":{"login":"xqwzts251","id":9058693,"avatar_url":"https://avatars.githubusercontent.com/u/9058693?v=3","gravatar_id":"","url":"https://api.github.com/users/xqwzts251","html_url":"https://github.com/xqwzts251","followers_url":"https://api.github.com/users/xqwzts251/followers","following_url":"https://api.github.com/users/xqwzts251/following{/other_user}","gists_url":"https://api.github.com/users/xqwzts251/gists{/gist_id}","starred_url":"https://api.github.com/users/xqwzts251/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xqwzts251/subscriptions","organizations_url":"https://api.github.com/users/xqwzts251/orgs","repos_url":"https://api.github.com/users/xqwzts251/repos","events_url":"https://api.github.com/users/xqwzts251/events{/privacy}","received_events_url":"https://api.github.com/users/xqwzts251/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-14T00:32:12Z","updated_at":"2016-01-14T15:12:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"009cd49148d86961ce9ee30600ba2d18ff1d8ccf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/pulls/4/commits","review_comments_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/pulls/4/comments","review_comment_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/issues/4/comments","statuses_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/statuses/48b09ae4295e2e2cdd558ae8c2af8838bdce63dc","head":{"label":"xqwzts251:master","ref":"master","sha":"48b09ae4295e2e2cdd558ae8c2af8838bdce63dc","user":{"login":"xqwzts251","id":9058693,"avatar_url":"https://avatars.githubusercontent.com/u/9058693?v=3","gravatar_id":"","url":"https://api.github.com/users/xqwzts251","html_url":"https://github.com/xqwzts251","followers_url":"https://api.github.com/users/xqwzts251/followers","following_url":"https://api.github.com/users/xqwzts251/following{/other_user}","gists_url":"https://api.github.com/users/xqwzts251/gists{/gist_id}","starred_url":"https://api.github.com/users/xqwzts251/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xqwzts251/subscriptions","organizations_url":"https://api.github.com/users/xqwzts251/orgs","repos_url":"https://api.github.com/users/xqwzts251/repos","events_url":"https://api.github.com/users/xqwzts251/events{/privacy}","received_events_url":"https://api.github.com/users/xqwzts251/received_events","type":"User","site_admin":false},"repo":{"id":49059957,"name":"2015.12_erlang","full_name":"xqwzts251/2015.12_erlang","owner":{"login":"xqwzts251","id":9058693,"avatar_url":"https://avatars.githubusercontent.com/u/9058693?v=3","gravatar_id":"","url":"https://api.github.com/users/xqwzts251","html_url":"https://github.com/xqwzts251","followers_url":"https://api.github.com/users/xqwzts251/followers","following_url":"https://api.github.com/users/xqwzts251/following{/other_user}","gists_url":"https://api.github.com/users/xqwzts251/gists{/gist_id}","starred_url":"https://api.github.com/users/xqwzts251/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xqwzts251/subscriptions","organizations_url":"https://api.github.com/users/xqwzts251/orgs","repos_url":"https://api.github.com/users/xqwzts251/repos","events_url":"https://api.github.com/users/xqwzts251/events{/privacy}","received_events_url":"https://api.github.com/users/xqwzts251/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xqwzts251/2015.12_erlang","description":"Talks Tweeter","fork":true,"url":"https://api.github.com/repos/xqwzts251/2015.12_erlang","forks_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/forks","keys_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/teams","hooks_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/hooks","issue_events_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/issues/events{/number}","events_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/events","assignees_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/assignees{/user}","branches_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/branches{/branch}","tags_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/tags","blobs_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/git/refs{/sha}","trees_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/statuses/{sha}","languages_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/languages","stargazers_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/stargazers","contributors_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/contributors","subscribers_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/subscribers","subscription_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/subscription","commits_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/commits{/sha}","git_commits_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/git/commits{/sha}","comments_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/comments{/number}","issue_comment_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/issues/comments{/number}","contents_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/contents/{+path}","compare_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/merges","archive_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/downloads","issues_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/issues{/number}","pulls_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/pulls{/number}","milestones_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/milestones{/number}","notifications_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/labels{/name}","releases_url":"https://api.github.com/repos/xqwzts251/2015.12_erlang/releases{/id}","created_at":"2016-01-05T10:46:20Z","updated_at":"2016-01-14T00:28:40Z","pushed_at":"2016-01-14T00:31:29Z","git_url":"git://github.com/xqwzts251/2015.12_erlang.git","ssh_url":"git@github.com:xqwzts251/2015.12_erlang.git","clone_url":"https://github.com/xqwzts251/2015.12_erlang.git","svn_url":"https://github.com/xqwzts251/2015.12_erlang","homepage":null,"size":19,"stargazers_count":0,"watchers_count":0,"language":"Erlang","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":"lambdaacademy:master","ref":"master","sha":"5c9a0528a9b7106dce35b6958527cf9e0505de39","user":{"login":"lambdaacademy","id":9858382,"avatar_url":"https://avatars.githubusercontent.com/u/9858382?v=3","gravatar_id":"","url":"https://api.github.com/users/lambdaacademy","html_url":"https://github.com/lambdaacademy","followers_url":"https://api.github.com/users/lambdaacademy/followers","following_url":"https://api.github.com/users/lambdaacademy/following{/other_user}","gists_url":"https://api.github.com/users/lambdaacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/lambdaacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lambdaacademy/subscriptions","organizations_url":"https://api.github.com/users/lambdaacademy/orgs","repos_url":"https://api.github.com/users/lambdaacademy/repos","events_url":"https://api.github.com/users/lambdaacademy/events{/privacy}","received_events_url":"https://api.github.com/users/lambdaacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":48176366,"name":"2015.12_erlang","full_name":"lambdaacademy/2015.12_erlang","owner":{"login":"lambdaacademy","id":9858382,"avatar_url":"https://avatars.githubusercontent.com/u/9858382?v=3","gravatar_id":"","url":"https://api.github.com/users/lambdaacademy","html_url":"https://github.com/lambdaacademy","followers_url":"https://api.github.com/users/lambdaacademy/followers","following_url":"https://api.github.com/users/lambdaacademy/following{/other_user}","gists_url":"https://api.github.com/users/lambdaacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/lambdaacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lambdaacademy/subscriptions","organizations_url":"https://api.github.com/users/lambdaacademy/orgs","repos_url":"https://api.github.com/users/lambdaacademy/repos","events_url":"https://api.github.com/users/lambdaacademy/events{/privacy}","received_events_url":"https://api.github.com/users/lambdaacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lambdaacademy/2015.12_erlang","description":"Talks Tweeter","fork":false,"url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang","forks_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/forks","keys_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/teams","hooks_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/hooks","issue_events_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/issues/events{/number}","events_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/events","assignees_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/assignees{/user}","branches_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/branches{/branch}","tags_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/tags","blobs_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/git/refs{/sha}","trees_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/statuses/{sha}","languages_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/languages","stargazers_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/stargazers","contributors_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/contributors","subscribers_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/subscribers","subscription_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/subscription","commits_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/commits{/sha}","git_commits_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/git/commits{/sha}","comments_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/comments{/number}","issue_comment_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/issues/comments{/number}","contents_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/contents/{+path}","compare_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/merges","archive_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/downloads","issues_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/issues{/number}","pulls_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/pulls{/number}","milestones_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/milestones{/number}","notifications_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/labels{/name}","releases_url":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/releases{/id}","created_at":"2015-12-17T13:38:39Z","updated_at":"2016-01-11T11:16:16Z","pushed_at":"2016-01-14T00:32:12Z","git_url":"git://github.com/lambdaacademy/2015.12_erlang.git","ssh_url":"git@github.com:lambdaacademy/2015.12_erlang.git","clone_url":"https://github.com/lambdaacademy/2015.12_erlang.git","svn_url":"https://github.com/lambdaacademy/2015.12_erlang","homepage":null,"size":20,"stargazers_count":1,"watchers_count":1,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/pulls/4"},"html":{"href":"https://github.com/lambdaacademy/2015.12_erlang/pull/4"},"issue":{"href":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/issues/4"},"comments":{"href":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/lambdaacademy/2015.12_erlang/statuses/48b09ae4295e2e2cdd558ae8c2af8838bdce63dc"}}}}