{"action":"created","issue":{"url":"https://api.github.com/repos/codegangsta/cli/issues/236","labels_url":"https://api.github.com/repos/codegangsta/cli/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/codegangsta/cli/issues/236/comments","events_url":"https://api.github.com/repos/codegangsta/cli/issues/236/events","html_url":"https://github.com/codegangsta/cli/issues/236","id":86571090,"number":236,"title":"Why test files do have their own package (cli_test)","user":{"login":"szank","id":773802,"avatar_url":"https://avatars.githubusercontent.com/u/773802?v=3","gravatar_id":"","url":"https://api.github.com/users/szank","html_url":"https://github.com/szank","followers_url":"https://api.github.com/users/szank/followers","following_url":"https://api.github.com/users/szank/following{/other_user}","gists_url":"https://api.github.com/users/szank/gists{/gist_id}","starred_url":"https://api.github.com/users/szank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szank/subscriptions","organizations_url":"https://api.github.com/users/szank/orgs","repos_url":"https://api.github.com/users/szank/repos","events_url":"https://api.github.com/users/szank/events{/privacy}","received_events_url":"https://api.github.com/users/szank/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-09T11:52:25Z","updated_at":"2015-06-11T09:19:17Z","closed_at":"2015-06-11T09:19:17Z","body":"Hi, I have forked this repo to add some features that I needed. \r\nI was wondering why test files does have their own package. It is annoying, it took me some time to realize ( as this is not the usual way of doing things in go ). \r\nTo write some new code I did have to either change all import clauses in test files to point to my package instead of github.com/codegangsta/cli or rename package cli_test to cli. Either way this is additional work every time i want to fork something, and then when i want to create pull request. \r\n\r\nI haven't seen such setup anywhere else. I would appreciate if you could please tell me why it is like this, and if I can raise a pull request to clean this up?\r\n\r\nBest regards, \r\nMaciej"},"comment":{"url":"https://api.github.com/repos/codegangsta/cli/issues/comments/111055705","html_url":"https://github.com/codegangsta/cli/issues/236#issuecomment-111055705","issue_url":"https://api.github.com/repos/codegangsta/cli/issues/236","id":111055705,"user":{"login":"szank","id":773802,"avatar_url":"https://avatars.githubusercontent.com/u/773802?v=3","gravatar_id":"","url":"https://api.github.com/users/szank","html_url":"https://github.com/szank","followers_url":"https://api.github.com/users/szank/followers","following_url":"https://api.github.com/users/szank/following{/other_user}","gists_url":"https://api.github.com/users/szank/gists{/gist_id}","starred_url":"https://api.github.com/users/szank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szank/subscriptions","organizations_url":"https://api.github.com/users/szank/orgs","repos_url":"https://api.github.com/users/szank/repos","events_url":"https://api.github.com/users/szank/events{/privacy}","received_events_url":"https://api.github.com/users/szank/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T09:19:17Z","updated_at":"2015-06-11T09:19:17Z","body":"Hi,\r\nI will use this approach then. Thanks for clearing it up ! \r\n\r\nRegards, \r\nMaciej"}}