{"action":"closed","issue":{"url":"https://api.github.com/repos/Araq/Nim/issues/1384","labels_url":"https://api.github.com/repos/Araq/Nim/issues/1384/labels{/name}","comments_url":"https://api.github.com/repos/Araq/Nim/issues/1384/comments","events_url":"https://api.github.com/repos/Araq/Nim/issues/1384/events","html_url":"https://github.com/Araq/Nim/issues/1384","id":38234775,"number":1384,"title":"Problem with unittest.check?","user":{"login":"sjakobi","id":3664523,"avatar_url":"https://avatars.githubusercontent.com/u/3664523?v=3","gravatar_id":"","url":"https://api.github.com/users/sjakobi","html_url":"https://github.com/sjakobi","followers_url":"https://api.github.com/users/sjakobi/followers","following_url":"https://api.github.com/users/sjakobi/following{/other_user}","gists_url":"https://api.github.com/users/sjakobi/gists{/gist_id}","starred_url":"https://api.github.com/users/sjakobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjakobi/subscriptions","organizations_url":"https://api.github.com/users/sjakobi/orgs","repos_url":"https://api.github.com/users/sjakobi/repos","events_url":"https://api.github.com/users/sjakobi/events{/privacy}","received_events_url":"https://api.github.com/users/sjakobi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Araq/Nim/labels/Medium%20Priority","name":"Medium Priority","color":"f7c6c7"},{"url":"https://api.github.com/repos/Araq/Nim/labels/Stdlib","name":"Stdlib","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"zah","id":175462,"avatar_url":"https://avatars.githubusercontent.com/u/175462?v=3","gravatar_id":"","url":"https://api.github.com/users/zah","html_url":"https://github.com/zah","followers_url":"https://api.github.com/users/zah/followers","following_url":"https://api.github.com/users/zah/following{/other_user}","gists_url":"https://api.github.com/users/zah/gists{/gist_id}","starred_url":"https://api.github.com/users/zah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zah/subscriptions","organizations_url":"https://api.github.com/users/zah/orgs","repos_url":"https://api.github.com/users/zah/repos","events_url":"https://api.github.com/users/zah/events{/privacy}","received_events_url":"https://api.github.com/users/zah/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2014-07-19T14:54:30Z","updated_at":"2015-05-26T23:26:57Z","closed_at":"2015-05-26T23:26:57Z","body":"The following test strangely produces an error:\r\n\r\n```Nimrod\r\nimport unittest\r\nfrom strutils import toUpper\r\n\r\ntest \"toUpper\":\r\n  check @[\"hello\", \"world\"].map(toUpper) == @[\"HELLO\", \"WORLD\"]\r\n```\r\n\r\n```fish\r\n> nimrod c -r --verbosity=0 test.nim \r\nstack trace: (most recent call last)\r\nlib/nimrod/pure/unittest.nim(110) check\r\ntest.nim(4, 0) Info: instantiation from here\r\ntest.nim(5, 2) Info: instantiation from here\r\nlib/nimrod/pure/unittest.nim(110, 26) Error: index out of bounds\r\n```\r\n"}}