{"action":"created","issue":{"url":"https://api.github.com/repos/willf/bitset/issues/56","repository_url":"https://api.github.com/repos/willf/bitset","labels_url":"https://api.github.com/repos/willf/bitset/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/willf/bitset/issues/56/comments","events_url":"https://api.github.com/repos/willf/bitset/issues/56/events","html_url":"https://github.com/willf/bitset/issues/56","id":259659121,"node_id":"MDU6SXNzdWUyNTk2NTkxMjE=","number":56,"title":"BUG: unexpected results in arm64 and x86 for TEstNewPanic","user":{"login":"mckaygerhard","id":1571724,"node_id":"MDQ6VXNlcjE1NzE3MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1571724?v=4","gravatar_id":"","url":"https://api.github.com/users/mckaygerhard","html_url":"https://github.com/mckaygerhard","followers_url":"https://api.github.com/users/mckaygerhard/followers","following_url":"https://api.github.com/users/mckaygerhard/following{/other_user}","gists_url":"https://api.github.com/users/mckaygerhard/gists{/gist_id}","starred_url":"https://api.github.com/users/mckaygerhard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mckaygerhard/subscriptions","organizations_url":"https://api.github.com/users/mckaygerhard/orgs","repos_url":"https://api.github.com/users/mckaygerhard/repos","events_url":"https://api.github.com/users/mckaygerhard/events{/privacy}","received_events_url":"https://api.github.com/users/mckaygerhard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-21T23:13:08Z","updated_at":"2018-08-12T08:28:46Z","closed_at":null,"author_association":"NONE","body":"when running test on arm 64bit i got and error:\r\nhttps://github.com/willf/bitset/blob/1a37ad96e8c1a11b20900a232874843b5174221f/bitset_test.go#L981\r\ni'm reading the Cap returns the total possible capacity, or number of bits , but reading the code of the test, i have not so clear if the xpected number are 0 or something!, in arm 64bits and i318 32bits got:\r\n\r\n```\r\n=== RUN   TestNewPanic\r\n--- FAIL: TestNewPanic (0.55s)\r\n\tbitset_test.go:983: Unexpected value:  4294967295\r\n```\r\nseems the test got a 0 value, but documentation does not explainme so much\r\n\r\ni need this to clear package and run in embebed devices with linux\r\n\r\nthe sources said:\r\n\r\n```\r\n// Cap returns the total possible capacity, or number of bits\r\nfunc Cap() uint {\r\n\treturn ^uint(0)\r\n}\r\n```\r\n\r\nthe test expected zero? previous test in https://github.com/willf/bitset/blob/1a37ad96e8c1a11b20900a232874843b5174221f/bitset_test.go#L963 proves and works.. but later the https://github.com/willf/bitset/blob/1a37ad96e8c1a11b20900a232874843b5174221f/bitset_test.go#L980 faild! i cant understand and as we can see its not related to 32 bits, due happened in arm 64"},"comment":{"url":"https://api.github.com/repos/willf/bitset/issues/comments/412327335","html_url":"https://github.com/willf/bitset/issues/56#issuecomment-412327335","issue_url":"https://api.github.com/repos/willf/bitset/issues/56","id":412327335,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjMyNzMzNQ==","user":{"login":"QuLogic","id":302469,"node_id":"MDQ6VXNlcjMwMjQ2OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/302469?v=4","gravatar_id":"","url":"https://api.github.com/users/QuLogic","html_url":"https://github.com/QuLogic","followers_url":"https://api.github.com/users/QuLogic/followers","following_url":"https://api.github.com/users/QuLogic/following{/other_user}","gists_url":"https://api.github.com/users/QuLogic/gists{/gist_id}","starred_url":"https://api.github.com/users/QuLogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuLogic/subscriptions","organizations_url":"https://api.github.com/users/QuLogic/orgs","repos_url":"https://api.github.com/users/QuLogic/repos","events_url":"https://api.github.com/users/QuLogic/events{/privacy}","received_events_url":"https://api.github.com/users/QuLogic/received_events","type":"User","site_admin":false},"created_at":"2018-08-12T08:28:46Z","updated_at":"2018-08-12T08:28:46Z","author_association":"NONE","body":"This test seems to fail on [i686](https://koji.fedoraproject.org/koji/taskinfo?taskID=29010428) and [armv7hl](https://koji.fedoraproject.org/koji/taskinfo?taskID=29010430) for me (both these systems are 32-bit.)"}}
{"actor":{"display_login":"QuLogic"}}