{"action":"created","comment":{"url":"https://api.github.com/repos/h31/ProgrammingLabTask2/pulls/comments/196161788","pull_request_review_id":129634685,"id":196161788,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NjE2MTc4OA==","diff_hunk":"@@ -0,0 +1,48 @@\n+package console;\n+\n+import java.io.File;\n+\n+import org.junit.jupiter.api.Test;\n+\n+import static org.junit.jupiter.api.Assertions.*;\n+\n+class ConsoleTest {\n+\n+    @Test\n+    void test1() throws Exception {\n+        Main path = new Main();\n+        path.main(new String[]{\"-r\", \"-d\", \"src\", \"test1.txt\"});\n+        assertEquals(new File(\"src/test/test1.txt\"), path.file);\n+    }\n+\n+    @Test\n+    void test2() throws Exception {\n+        Main path = new Main();\n+        String message = \"\";\n+        try {\n+            path.main(new String[]{\"test2.txt\"});","path":"src/test/java/console/ConsoleTest.java","position":23,"original_position":23,"commit_id":"9bc7e9cc44702210f91db1e07640c0eced70addc","original_commit_id":"9bc7e9cc44702210f91db1e07640c0eced70addc","user":{"login":"h31","id":3375923,"node_id":"MDQ6VXNlcjMzNzU5MjM=","avatar_url":"https://avatars0.githubusercontent.com/u/3375923?v=4","gravatar_id":"","url":"https://api.github.com/users/h31","html_url":"https://github.com/h31","followers_url":"https://api.github.com/users/h31/followers","following_url":"https://api.github.com/users/h31/following{/other_user}","gists_url":"https://api.github.com/users/h31/gists{/gist_id}","starred_url":"https://api.github.com/users/h31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h31/subscriptions","organizations_url":"https://api.github.com/users/h31/orgs","repos_url":"https://api.github.com/users/h31/repos","events_url":"https://api.github.com/users/h31/events{/privacy}","received_events_url":"https://api.github.com/users/h31/received_events","type":"User","site_admin":false},"body":"Раз уж у вас используется JUnit 5, то есть смысл воспользоваться [assertThrows](https://junit.org/junit5/docs/current/user-guide/#writing-tests-assertions), это упростит код.","created_at":"2018-06-18T17:31:30Z","updated_at":"2018-06-18T17:35:27Z","html_url":"https://github.com/h31/ProgrammingLabTask2/pull/3#discussion_r196161788","pull_request_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/pulls/3","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/h31/ProgrammingLabTask2/pulls/comments/196161788"},"html":{"href":"https://github.com/h31/ProgrammingLabTask2/pull/3#discussion_r196161788"},"pull_request":{"href":"https://api.github.com/repos/h31/ProgrammingLabTask2/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/h31/ProgrammingLabTask2/pulls/3","id":177530709,"node_id":"MDExOlB1bGxSZXF1ZXN0MTc3NTMwNzA5","html_url":"https://github.com/h31/ProgrammingLabTask2/pull/3","diff_url":"https://github.com/h31/ProgrammingLabTask2/pull/3.diff","patch_url":"https://github.com/h31/ProgrammingLabTask2/pull/3.patch","issue_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/issues/3","number":3,"state":"open","locked":false,"title":"Даниил Павлов, Find","user":{"login":"DaniilPavlov","id":31846394,"node_id":"MDQ6VXNlcjMxODQ2Mzk0","avatar_url":"https://avatars2.githubusercontent.com/u/31846394?v=4","gravatar_id":"","url":"https://api.github.com/users/DaniilPavlov","html_url":"https://github.com/DaniilPavlov","followers_url":"https://api.github.com/users/DaniilPavlov/followers","following_url":"https://api.github.com/users/DaniilPavlov/following{/other_user}","gists_url":"https://api.github.com/users/DaniilPavlov/gists{/gist_id}","starred_url":"https://api.github.com/users/DaniilPavlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaniilPavlov/subscriptions","organizations_url":"https://api.github.com/users/DaniilPavlov/orgs","repos_url":"https://api.github.com/users/DaniilPavlov/repos","events_url":"https://api.github.com/users/DaniilPavlov/events{/privacy}","received_events_url":"https://api.github.com/users/DaniilPavlov/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-26T18:33:19Z","updated_at":"2018-06-18T17:35:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c16f2ec8caaa48a7e4990dbe2e58101a0aa8a343","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/pulls/3/commits","review_comments_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/pulls/3/comments","review_comment_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/issues/3/comments","statuses_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/statuses/9bc7e9cc44702210f91db1e07640c0eced70addc","head":{"label":"DaniilPavlov:master","ref":"master","sha":"9bc7e9cc44702210f91db1e07640c0eced70addc","user":{"login":"DaniilPavlov","id":31846394,"node_id":"MDQ6VXNlcjMxODQ2Mzk0","avatar_url":"https://avatars2.githubusercontent.com/u/31846394?v=4","gravatar_id":"","url":"https://api.github.com/users/DaniilPavlov","html_url":"https://github.com/DaniilPavlov","followers_url":"https://api.github.com/users/DaniilPavlov/followers","following_url":"https://api.github.com/users/DaniilPavlov/following{/other_user}","gists_url":"https://api.github.com/users/DaniilPavlov/gists{/gist_id}","starred_url":"https://api.github.com/users/DaniilPavlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaniilPavlov/subscriptions","organizations_url":"https://api.github.com/users/DaniilPavlov/orgs","repos_url":"https://api.github.com/users/DaniilPavlov/repos","events_url":"https://api.github.com/users/DaniilPavlov/events{/privacy}","received_events_url":"https://api.github.com/users/DaniilPavlov/received_events","type":"User","site_admin":false},"repo":{"id":125051901,"node_id":"MDEwOlJlcG9zaXRvcnkxMjUwNTE5MDE=","name":"ProgrammingLabTask2","full_name":"DaniilPavlov/ProgrammingLabTask2","owner":{"login":"DaniilPavlov","id":31846394,"node_id":"MDQ6VXNlcjMxODQ2Mzk0","avatar_url":"https://avatars2.githubusercontent.com/u/31846394?v=4","gravatar_id":"","url":"https://api.github.com/users/DaniilPavlov","html_url":"https://github.com/DaniilPavlov","followers_url":"https://api.github.com/users/DaniilPavlov/followers","following_url":"https://api.github.com/users/DaniilPavlov/following{/other_user}","gists_url":"https://api.github.com/users/DaniilPavlov/gists{/gist_id}","starred_url":"https://api.github.com/users/DaniilPavlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaniilPavlov/subscriptions","organizations_url":"https://api.github.com/users/DaniilPavlov/orgs","repos_url":"https://api.github.com/users/DaniilPavlov/repos","events_url":"https://api.github.com/users/DaniilPavlov/events{/privacy}","received_events_url":"https://api.github.com/users/DaniilPavlov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DaniilPavlov/ProgrammingLabTask2","description":"Programming Lab (Task 2)","fork":true,"url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2","forks_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/forks","keys_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/teams","hooks_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/hooks","issue_events_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/issues/events{/number}","events_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/events","assignees_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/assignees{/user}","branches_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/branches{/branch}","tags_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/tags","blobs_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/git/refs{/sha}","trees_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/statuses/{sha}","languages_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/languages","stargazers_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/stargazers","contributors_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/contributors","subscribers_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/subscribers","subscription_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/subscription","commits_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/commits{/sha}","git_commits_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/git/commits{/sha}","comments_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/comments{/number}","issue_comment_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/issues/comments{/number}","contents_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/contents/{+path}","compare_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/merges","archive_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/downloads","issues_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/issues{/number}","pulls_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/pulls{/number}","milestones_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/milestones{/number}","notifications_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/labels{/name}","releases_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/releases{/id}","deployments_url":"https://api.github.com/repos/DaniilPavlov/ProgrammingLabTask2/deployments","created_at":"2018-03-13T12:57:56Z","updated_at":"2018-04-16T14:29:50Z","pushed_at":"2018-04-16T14:29:48Z","git_url":"git://github.com/DaniilPavlov/ProgrammingLabTask2.git","ssh_url":"git@github.com:DaniilPavlov/ProgrammingLabTask2.git","clone_url":"https://github.com/DaniilPavlov/ProgrammingLabTask2.git","svn_url":"https://github.com/DaniilPavlov/ProgrammingLabTask2","homepage":null,"size":70,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"h31:master","ref":"master","sha":"9a392b5099b60b41db841cde3455adb79d5b54c0","user":{"login":"h31","id":3375923,"node_id":"MDQ6VXNlcjMzNzU5MjM=","avatar_url":"https://avatars0.githubusercontent.com/u/3375923?v=4","gravatar_id":"","url":"https://api.github.com/users/h31","html_url":"https://github.com/h31","followers_url":"https://api.github.com/users/h31/followers","following_url":"https://api.github.com/users/h31/following{/other_user}","gists_url":"https://api.github.com/users/h31/gists{/gist_id}","starred_url":"https://api.github.com/users/h31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h31/subscriptions","organizations_url":"https://api.github.com/users/h31/orgs","repos_url":"https://api.github.com/users/h31/repos","events_url":"https://api.github.com/users/h31/events{/privacy}","received_events_url":"https://api.github.com/users/h31/received_events","type":"User","site_admin":false},"repo":{"id":124929991,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQ5Mjk5OTE=","name":"ProgrammingLabTask2","full_name":"h31/ProgrammingLabTask2","owner":{"login":"h31","id":3375923,"node_id":"MDQ6VXNlcjMzNzU5MjM=","avatar_url":"https://avatars0.githubusercontent.com/u/3375923?v=4","gravatar_id":"","url":"https://api.github.com/users/h31","html_url":"https://github.com/h31","followers_url":"https://api.github.com/users/h31/followers","following_url":"https://api.github.com/users/h31/following{/other_user}","gists_url":"https://api.github.com/users/h31/gists{/gist_id}","starred_url":"https://api.github.com/users/h31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h31/subscriptions","organizations_url":"https://api.github.com/users/h31/orgs","repos_url":"https://api.github.com/users/h31/repos","events_url":"https://api.github.com/users/h31/events{/privacy}","received_events_url":"https://api.github.com/users/h31/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/h31/ProgrammingLabTask2","description":"Programming Lab (Task 2)","fork":false,"url":"https://api.github.com/repos/h31/ProgrammingLabTask2","forks_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/forks","keys_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/teams","hooks_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/hooks","issue_events_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/issues/events{/number}","events_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/events","assignees_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/assignees{/user}","branches_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/branches{/branch}","tags_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/tags","blobs_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/git/refs{/sha}","trees_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/statuses/{sha}","languages_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/languages","stargazers_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/stargazers","contributors_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/contributors","subscribers_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/subscribers","subscription_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/subscription","commits_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/commits{/sha}","git_commits_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/git/commits{/sha}","comments_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/comments{/number}","issue_comment_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/issues/comments{/number}","contents_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/contents/{+path}","compare_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/merges","archive_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/downloads","issues_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/issues{/number}","pulls_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/pulls{/number}","milestones_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/milestones{/number}","notifications_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/labels{/name}","releases_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/releases{/id}","deployments_url":"https://api.github.com/repos/h31/ProgrammingLabTask2/deployments","created_at":"2018-03-12T18:01:00Z","updated_at":"2018-03-12T18:01:00Z","pushed_at":"2018-06-18T08:19:46Z","git_url":"git://github.com/h31/ProgrammingLabTask2.git","ssh_url":"git@github.com:h31/ProgrammingLabTask2.git","clone_url":"https://github.com/h31/ProgrammingLabTask2.git","svn_url":"https://github.com/h31/ProgrammingLabTask2","homepage":null,"size":2,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":21,"license":null,"forks":25,"open_issues":21,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/h31/ProgrammingLabTask2/pulls/3"},"html":{"href":"https://github.com/h31/ProgrammingLabTask2/pull/3"},"issue":{"href":"https://api.github.com/repos/h31/ProgrammingLabTask2/issues/3"},"comments":{"href":"https://api.github.com/repos/h31/ProgrammingLabTask2/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/h31/ProgrammingLabTask2/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/h31/ProgrammingLabTask2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/h31/ProgrammingLabTask2/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/h31/ProgrammingLabTask2/statuses/9bc7e9cc44702210f91db1e07640c0eced70addc"}},"author_association":"NONE"}}
{"actor":{"display_login":"h31"}}