{"action":"created","issue":{"url":"https://api.github.com/repos/NaturalNode/natural/issues/254","labels_url":"https://api.github.com/repos/NaturalNode/natural/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/NaturalNode/natural/issues/254/comments","events_url":"https://api.github.com/repos/NaturalNode/natural/issues/254/events","html_url":"https://github.com/NaturalNode/natural/pull/254","id":101321108,"number":254,"title":"Increment nElement","user":{"login":"nategood","id":154115,"avatar_url":"https://avatars.githubusercontent.com/u/154115?v=3","gravatar_id":"","url":"https://api.github.com/users/nategood","html_url":"https://github.com/nategood","followers_url":"https://api.github.com/users/nategood/followers","following_url":"https://api.github.com/users/nategood/following{/other_user}","gists_url":"https://api.github.com/users/nategood/gists{/gist_id}","starred_url":"https://api.github.com/users/nategood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nategood/subscriptions","organizations_url":"https://api.github.com/users/nategood/orgs","repos_url":"https://api.github.com/users/nategood/repos","events_url":"https://api.github.com/users/nategood/events{/privacy}","received_events_url":"https://api.github.com/users/nategood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-17T02:06:20Z","updated_at":"2015-09-07T17:48:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NaturalNode/natural/pulls/254","html_url":"https://github.com/NaturalNode/natural/pull/254","diff_url":"https://github.com/NaturalNode/natural/pull/254.diff","patch_url":"https://github.com/NaturalNode/natural/pull/254.patch"},"body":"Looks like nElement never gets incremented, yet it is used in the `isEmpty` function. As a result, `isEmpty` would always return true. Looks like there wasn't any test coverage for `Bag`. I'm happy to write some if desired."},"comment":{"url":"https://api.github.com/repos/NaturalNode/natural/issues/comments/138347832","html_url":"https://github.com/NaturalNode/natural/pull/254#issuecomment-138347832","issue_url":"https://api.github.com/repos/NaturalNode/natural/issues/254","id":138347832,"user":{"login":"kkoch986","id":1666071,"avatar_url":"https://avatars.githubusercontent.com/u/1666071?v=3","gravatar_id":"","url":"https://api.github.com/users/kkoch986","html_url":"https://github.com/kkoch986","followers_url":"https://api.github.com/users/kkoch986/followers","following_url":"https://api.github.com/users/kkoch986/following{/other_user}","gists_url":"https://api.github.com/users/kkoch986/gists{/gist_id}","starred_url":"https://api.github.com/users/kkoch986/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkoch986/subscriptions","organizations_url":"https://api.github.com/users/kkoch986/orgs","repos_url":"https://api.github.com/users/kkoch986/repos","events_url":"https://api.github.com/users/kkoch986/events{/privacy}","received_events_url":"https://api.github.com/users/kkoch986/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T17:48:57Z","updated_at":"2015-09-07T17:48:57Z","body":"ill merge this but would love some tests too!"}}