{"action":"created","comment":{"url":"https://api.github.com/repos/forestgiant/fsutil/pulls/comments/63751952","id":63751952,"diff_hunk":"@@ -106,6 +137,9 @@ func TestIsEmpty(t *testing.T) {\n \t\t\tt.Errorf(\"Expected %t, Result was: %t\", test.expected, result)\n \t\t}\n \t}\n+\n+\t// Remove temp dir\n+\tos.RemoveAll(dir)","path":"fsutil_test.go","position":null,"original_position":63,"commit_id":"00e0dccca17b74d992d4aa46ad8e3081748f4a75","original_commit_id":"4dce00772f1f392651668f3f2ae11d23668376cd","user":{"login":"rodzzlessa24","id":15348071,"avatar_url":"https://avatars.githubusercontent.com/u/15348071?v=3","gravatar_id":"","url":"https://api.github.com/users/rodzzlessa24","html_url":"https://github.com/rodzzlessa24","followers_url":"https://api.github.com/users/rodzzlessa24/followers","following_url":"https://api.github.com/users/rodzzlessa24/following{/other_user}","gists_url":"https://api.github.com/users/rodzzlessa24/gists{/gist_id}","starred_url":"https://api.github.com/users/rodzzlessa24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodzzlessa24/subscriptions","organizations_url":"https://api.github.com/users/rodzzlessa24/orgs","repos_url":"https://api.github.com/users/rodzzlessa24/repos","events_url":"https://api.github.com/users/rodzzlessa24/events{/privacy}","received_events_url":"https://api.github.com/users/rodzzlessa24/received_events","type":"User","site_admin":false},"body":"I changed it. I thought that `t.Error` didn't actually return the function it was more like a print of the error that's why I hadn't used defer","created_at":"2016-05-18T18:02:15Z","updated_at":"2016-05-18T18:02:15Z","html_url":"https://github.com/forestgiant/fsutil/pull/1#discussion_r63751952","pull_request_url":"https://api.github.com/repos/forestgiant/fsutil/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/forestgiant/fsutil/pulls/comments/63751952"},"html":{"href":"https://github.com/forestgiant/fsutil/pull/1#discussion_r63751952"},"pull_request":{"href":"https://api.github.com/repos/forestgiant/fsutil/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/forestgiant/fsutil/pulls/1","id":70557354,"html_url":"https://github.com/forestgiant/fsutil/pull/1","diff_url":"https://github.com/forestgiant/fsutil/pull/1.diff","patch_url":"https://github.com/forestgiant/fsutil/pull/1.patch","issue_url":"https://api.github.com/repos/forestgiant/fsutil/issues/1","number":1,"state":"open","locked":false,"title":"Updated testing","user":{"login":"rodzzlessa24","id":15348071,"avatar_url":"https://avatars.githubusercontent.com/u/15348071?v=3","gravatar_id":"","url":"https://api.github.com/users/rodzzlessa24","html_url":"https://github.com/rodzzlessa24","followers_url":"https://api.github.com/users/rodzzlessa24/followers","following_url":"https://api.github.com/users/rodzzlessa24/following{/other_user}","gists_url":"https://api.github.com/users/rodzzlessa24/gists{/gist_id}","starred_url":"https://api.github.com/users/rodzzlessa24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodzzlessa24/subscriptions","organizations_url":"https://api.github.com/users/rodzzlessa24/orgs","repos_url":"https://api.github.com/users/rodzzlessa24/repos","events_url":"https://api.github.com/users/rodzzlessa24/events{/privacy}","received_events_url":"https://api.github.com/users/rodzzlessa24/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-18T16:15:24Z","updated_at":"2016-05-18T18:02:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d78a09b49cef25084a3a913b2b72904cd6682cea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/forestgiant/fsutil/pulls/1/commits","review_comments_url":"https://api.github.com/repos/forestgiant/fsutil/pulls/1/comments","review_comment_url":"https://api.github.com/repos/forestgiant/fsutil/pulls/comments{/number}","comments_url":"https://api.github.com/repos/forestgiant/fsutil/issues/1/comments","statuses_url":"https://api.github.com/repos/forestgiant/fsutil/statuses/00e0dccca17b74d992d4aa46ad8e3081748f4a75","head":{"label":"rodzzlessa24:master","ref":"master","sha":"00e0dccca17b74d992d4aa46ad8e3081748f4a75","user":{"login":"rodzzlessa24","id":15348071,"avatar_url":"https://avatars.githubusercontent.com/u/15348071?v=3","gravatar_id":"","url":"https://api.github.com/users/rodzzlessa24","html_url":"https://github.com/rodzzlessa24","followers_url":"https://api.github.com/users/rodzzlessa24/followers","following_url":"https://api.github.com/users/rodzzlessa24/following{/other_user}","gists_url":"https://api.github.com/users/rodzzlessa24/gists{/gist_id}","starred_url":"https://api.github.com/users/rodzzlessa24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodzzlessa24/subscriptions","organizations_url":"https://api.github.com/users/rodzzlessa24/orgs","repos_url":"https://api.github.com/users/rodzzlessa24/repos","events_url":"https://api.github.com/users/rodzzlessa24/events{/privacy}","received_events_url":"https://api.github.com/users/rodzzlessa24/received_events","type":"User","site_admin":false},"repo":{"id":59131636,"name":"fsutil","full_name":"rodzzlessa24/fsutil","owner":{"login":"rodzzlessa24","id":15348071,"avatar_url":"https://avatars.githubusercontent.com/u/15348071?v=3","gravatar_id":"","url":"https://api.github.com/users/rodzzlessa24","html_url":"https://github.com/rodzzlessa24","followers_url":"https://api.github.com/users/rodzzlessa24/followers","following_url":"https://api.github.com/users/rodzzlessa24/following{/other_user}","gists_url":"https://api.github.com/users/rodzzlessa24/gists{/gist_id}","starred_url":"https://api.github.com/users/rodzzlessa24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodzzlessa24/subscriptions","organizations_url":"https://api.github.com/users/rodzzlessa24/orgs","repos_url":"https://api.github.com/users/rodzzlessa24/repos","events_url":"https://api.github.com/users/rodzzlessa24/events{/privacy}","received_events_url":"https://api.github.com/users/rodzzlessa24/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rodzzlessa24/fsutil","description":"File system utility functions","fork":true,"url":"https://api.github.com/repos/rodzzlessa24/fsutil","forks_url":"https://api.github.com/repos/rodzzlessa24/fsutil/forks","keys_url":"https://api.github.com/repos/rodzzlessa24/fsutil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rodzzlessa24/fsutil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rodzzlessa24/fsutil/teams","hooks_url":"https://api.github.com/repos/rodzzlessa24/fsutil/hooks","issue_events_url":"https://api.github.com/repos/rodzzlessa24/fsutil/issues/events{/number}","events_url":"https://api.github.com/repos/rodzzlessa24/fsutil/events","assignees_url":"https://api.github.com/repos/rodzzlessa24/fsutil/assignees{/user}","branches_url":"https://api.github.com/repos/rodzzlessa24/fsutil/branches{/branch}","tags_url":"https://api.github.com/repos/rodzzlessa24/fsutil/tags","blobs_url":"https://api.github.com/repos/rodzzlessa24/fsutil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rodzzlessa24/fsutil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rodzzlessa24/fsutil/git/refs{/sha}","trees_url":"https://api.github.com/repos/rodzzlessa24/fsutil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rodzzlessa24/fsutil/statuses/{sha}","languages_url":"https://api.github.com/repos/rodzzlessa24/fsutil/languages","stargazers_url":"https://api.github.com/repos/rodzzlessa24/fsutil/stargazers","contributors_url":"https://api.github.com/repos/rodzzlessa24/fsutil/contributors","subscribers_url":"https://api.github.com/repos/rodzzlessa24/fsutil/subscribers","subscription_url":"https://api.github.com/repos/rodzzlessa24/fsutil/subscription","commits_url":"https://api.github.com/repos/rodzzlessa24/fsutil/commits{/sha}","git_commits_url":"https://api.github.com/repos/rodzzlessa24/fsutil/git/commits{/sha}","comments_url":"https://api.github.com/repos/rodzzlessa24/fsutil/comments{/number}","issue_comment_url":"https://api.github.com/repos/rodzzlessa24/fsutil/issues/comments{/number}","contents_url":"https://api.github.com/repos/rodzzlessa24/fsutil/contents/{+path}","compare_url":"https://api.github.com/repos/rodzzlessa24/fsutil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rodzzlessa24/fsutil/merges","archive_url":"https://api.github.com/repos/rodzzlessa24/fsutil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rodzzlessa24/fsutil/downloads","issues_url":"https://api.github.com/repos/rodzzlessa24/fsutil/issues{/number}","pulls_url":"https://api.github.com/repos/rodzzlessa24/fsutil/pulls{/number}","milestones_url":"https://api.github.com/repos/rodzzlessa24/fsutil/milestones{/number}","notifications_url":"https://api.github.com/repos/rodzzlessa24/fsutil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rodzzlessa24/fsutil/labels{/name}","releases_url":"https://api.github.com/repos/rodzzlessa24/fsutil/releases{/id}","deployments_url":"https://api.github.com/repos/rodzzlessa24/fsutil/deployments","created_at":"2016-05-18T16:09:17Z","updated_at":"2016-05-18T16:09:18Z","pushed_at":"2016-05-18T18:01:12Z","git_url":"git://github.com/rodzzlessa24/fsutil.git","ssh_url":"git@github.com:rodzzlessa24/fsutil.git","clone_url":"https://github.com/rodzzlessa24/fsutil.git","svn_url":"https://github.com/rodzzlessa24/fsutil","homepage":null,"size":41838,"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":"forestgiant:master","ref":"master","sha":"5f328f32d9a179fc0aff4e945d9045ce382d551e","user":{"login":"forestgiant","id":529230,"avatar_url":"https://avatars.githubusercontent.com/u/529230?v=3","gravatar_id":"","url":"https://api.github.com/users/forestgiant","html_url":"https://github.com/forestgiant","followers_url":"https://api.github.com/users/forestgiant/followers","following_url":"https://api.github.com/users/forestgiant/following{/other_user}","gists_url":"https://api.github.com/users/forestgiant/gists{/gist_id}","starred_url":"https://api.github.com/users/forestgiant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forestgiant/subscriptions","organizations_url":"https://api.github.com/users/forestgiant/orgs","repos_url":"https://api.github.com/users/forestgiant/repos","events_url":"https://api.github.com/users/forestgiant/events{/privacy}","received_events_url":"https://api.github.com/users/forestgiant/received_events","type":"Organization","site_admin":false},"repo":{"id":45731923,"name":"fsutil","full_name":"forestgiant/fsutil","owner":{"login":"forestgiant","id":529230,"avatar_url":"https://avatars.githubusercontent.com/u/529230?v=3","gravatar_id":"","url":"https://api.github.com/users/forestgiant","html_url":"https://github.com/forestgiant","followers_url":"https://api.github.com/users/forestgiant/followers","following_url":"https://api.github.com/users/forestgiant/following{/other_user}","gists_url":"https://api.github.com/users/forestgiant/gists{/gist_id}","starred_url":"https://api.github.com/users/forestgiant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forestgiant/subscriptions","organizations_url":"https://api.github.com/users/forestgiant/orgs","repos_url":"https://api.github.com/users/forestgiant/repos","events_url":"https://api.github.com/users/forestgiant/events{/privacy}","received_events_url":"https://api.github.com/users/forestgiant/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/forestgiant/fsutil","description":"File system utility functions","fork":false,"url":"https://api.github.com/repos/forestgiant/fsutil","forks_url":"https://api.github.com/repos/forestgiant/fsutil/forks","keys_url":"https://api.github.com/repos/forestgiant/fsutil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/forestgiant/fsutil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/forestgiant/fsutil/teams","hooks_url":"https://api.github.com/repos/forestgiant/fsutil/hooks","issue_events_url":"https://api.github.com/repos/forestgiant/fsutil/issues/events{/number}","events_url":"https://api.github.com/repos/forestgiant/fsutil/events","assignees_url":"https://api.github.com/repos/forestgiant/fsutil/assignees{/user}","branches_url":"https://api.github.com/repos/forestgiant/fsutil/branches{/branch}","tags_url":"https://api.github.com/repos/forestgiant/fsutil/tags","blobs_url":"https://api.github.com/repos/forestgiant/fsutil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/forestgiant/fsutil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/forestgiant/fsutil/git/refs{/sha}","trees_url":"https://api.github.com/repos/forestgiant/fsutil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/forestgiant/fsutil/statuses/{sha}","languages_url":"https://api.github.com/repos/forestgiant/fsutil/languages","stargazers_url":"https://api.github.com/repos/forestgiant/fsutil/stargazers","contributors_url":"https://api.github.com/repos/forestgiant/fsutil/contributors","subscribers_url":"https://api.github.com/repos/forestgiant/fsutil/subscribers","subscription_url":"https://api.github.com/repos/forestgiant/fsutil/subscription","commits_url":"https://api.github.com/repos/forestgiant/fsutil/commits{/sha}","git_commits_url":"https://api.github.com/repos/forestgiant/fsutil/git/commits{/sha}","comments_url":"https://api.github.com/repos/forestgiant/fsutil/comments{/number}","issue_comment_url":"https://api.github.com/repos/forestgiant/fsutil/issues/comments{/number}","contents_url":"https://api.github.com/repos/forestgiant/fsutil/contents/{+path}","compare_url":"https://api.github.com/repos/forestgiant/fsutil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/forestgiant/fsutil/merges","archive_url":"https://api.github.com/repos/forestgiant/fsutil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/forestgiant/fsutil/downloads","issues_url":"https://api.github.com/repos/forestgiant/fsutil/issues{/number}","pulls_url":"https://api.github.com/repos/forestgiant/fsutil/pulls{/number}","milestones_url":"https://api.github.com/repos/forestgiant/fsutil/milestones{/number}","notifications_url":"https://api.github.com/repos/forestgiant/fsutil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/forestgiant/fsutil/labels{/name}","releases_url":"https://api.github.com/repos/forestgiant/fsutil/releases{/id}","deployments_url":"https://api.github.com/repos/forestgiant/fsutil/deployments","created_at":"2015-11-07T10:26:00Z","updated_at":"2016-02-24T21:25:04Z","pushed_at":"2016-05-18T18:01:12Z","git_url":"git://github.com/forestgiant/fsutil.git","ssh_url":"git@github.com:forestgiant/fsutil.git","clone_url":"https://github.com/forestgiant/fsutil.git","svn_url":"https://github.com/forestgiant/fsutil","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/forestgiant/fsutil/pulls/1"},"html":{"href":"https://github.com/forestgiant/fsutil/pull/1"},"issue":{"href":"https://api.github.com/repos/forestgiant/fsutil/issues/1"},"comments":{"href":"https://api.github.com/repos/forestgiant/fsutil/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/forestgiant/fsutil/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/forestgiant/fsutil/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/forestgiant/fsutil/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/forestgiant/fsutil/statuses/00e0dccca17b74d992d4aa46ad8e3081748f4a75"}}}}