{"action":"created","issue":{"url":"https://api.github.com/repos/Araq/Nim/issues/2583","labels_url":"https://api.github.com/repos/Araq/Nim/issues/2583/labels{/name}","comments_url":"https://api.github.com/repos/Araq/Nim/issues/2583/comments","events_url":"https://api.github.com/repos/Araq/Nim/issues/2583/events","html_url":"https://github.com/Araq/Nim/pull/2583","id":69837525,"number":2583,"title":"Test stdlib","user":{"login":"BlaXpirit","id":371383,"avatar_url":"https://avatars.githubusercontent.com/u/371383?v=3","gravatar_id":"","url":"https://api.github.com/users/BlaXpirit","html_url":"https://github.com/BlaXpirit","followers_url":"https://api.github.com/users/BlaXpirit/followers","following_url":"https://api.github.com/users/BlaXpirit/following{/other_user}","gists_url":"https://api.github.com/users/BlaXpirit/gists{/gist_id}","starred_url":"https://api.github.com/users/BlaXpirit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlaXpirit/subscriptions","organizations_url":"https://api.github.com/users/BlaXpirit/orgs","repos_url":"https://api.github.com/users/BlaXpirit/repos","events_url":"https://api.github.com/users/BlaXpirit/events{/privacy}","received_events_url":"https://api.github.com/users/BlaXpirit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-21T12:50:53Z","updated_at":"2015-04-21T13:46:41Z","closed_at":"2015-04-21T13:36:37Z","pull_request":{"url":"https://api.github.com/repos/Araq/Nim/pulls/2583","html_url":"https://github.com/Araq/Nim/pull/2583","diff_url":"https://github.com/Araq/Nim/pull/2583.diff","patch_url":"https://github.com/Araq/Nim/pull/2583.patch"},"body":"When `koch test c lib` [actually runs the files](https://github.com/Araq/Nim/issues/2517) and defines `-d:testing`, the tests inside */lib* will run (and not just some random code to try the module).\r\n\r\n*times* and *typeinfo* modules' tests don't pass.\r\n[*strutils.formatSize* is broken](https://github.com/Araq/Nim/issues/2582)."},"comment":{"url":"https://api.github.com/repos/Araq/Nim/issues/comments/94797687","html_url":"https://github.com/Araq/Nim/pull/2583#issuecomment-94797687","issue_url":"https://api.github.com/repos/Araq/Nim/issues/2583","id":94797687,"user":{"login":"BlaXpirit","id":371383,"avatar_url":"https://avatars.githubusercontent.com/u/371383?v=3","gravatar_id":"","url":"https://api.github.com/users/BlaXpirit","html_url":"https://github.com/BlaXpirit","followers_url":"https://api.github.com/users/BlaXpirit/followers","following_url":"https://api.github.com/users/BlaXpirit/following{/other_user}","gists_url":"https://api.github.com/users/BlaXpirit/gists{/gist_id}","starred_url":"https://api.github.com/users/BlaXpirit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlaXpirit/subscriptions","organizations_url":"https://api.github.com/users/BlaXpirit/orgs","repos_url":"https://api.github.com/users/BlaXpirit/repos","events_url":"https://api.github.com/users/BlaXpirit/events{/privacy}","received_events_url":"https://api.github.com/users/BlaXpirit/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T13:46:41Z","updated_at":"2015-04-21T13:46:41Z","body":"\"fixed\" in what way? By adding artificial inteligence that decides which\ncode does testing and which runs an HTTP server on your computer?\n\n2015-04-21 16:45 GMT+03:00 Dominik Picheta <notifications@github.com>:\n\n> This seems like a roundabout way to fix this. Shouldn't the tester be\n> fixed instead of relying on the fact that we all remember to add not\n> defined(testing) to our when isMainModule:??\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/Araq/Nim/pull/2583#issuecomment-94797389>.\n>\n"}}