{"action":"created","issue":{"url":"https://api.github.com/repos/pester/Pester/issues/256","labels_url":"https://api.github.com/repos/pester/Pester/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/pester/Pester/issues/256/comments","events_url":"https://api.github.com/repos/pester/Pester/issues/256/events","html_url":"https://github.com/pester/Pester/issues/256","id":54741284,"number":256,"title":"0 failed to be found in array","user":{"login":"vors","id":816680,"avatar_url":"https://avatars.githubusercontent.com/u/816680?v=3","gravatar_id":"","url":"https://api.github.com/users/vors","html_url":"https://github.com/vors","followers_url":"https://api.github.com/users/vors/followers","following_url":"https://api.github.com/users/vors/following{/other_user}","gists_url":"https://api.github.com/users/vors/gists{/gist_id}","starred_url":"https://api.github.com/users/vors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vors/subscriptions","organizations_url":"https://api.github.com/users/vors/orgs","repos_url":"https://api.github.com/users/vors/repos","events_url":"https://api.github.com/users/vors/events{/privacy}","received_events_url":"https://api.github.com/users/vors/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-19T09:20:42Z","updated_at":"2015-01-19T19:12:34Z","closed_at":null,"body":"```powershell\r\nDescribe foo {\r\n    It \"should find 0 in range\" {\r\n        0 | Should be @(0..2)\r\n    }\r\n\r\n    It \"should find 1 in range\" {\r\n        1 | Should be @(0..2)\r\n    }\r\n\r\n    It \"should find 2 in range\" {\r\n        2 | Should be @(0..2)\r\n    }\r\n}\r\n```\r\n\r\n![image](https://cloud.githubusercontent.com/assets/816680/5798134/531834b6-9f79-11e4-9cb8-eac2a9e776b4.png)\r\n"},"comment":{"url":"https://api.github.com/repos/pester/Pester/issues/comments/70544930","html_url":"https://github.com/pester/Pester/issues/256#issuecomment-70544930","issue_url":"https://api.github.com/repos/pester/Pester/issues/256","id":70544930,"user":{"login":"vors","id":816680,"avatar_url":"https://avatars.githubusercontent.com/u/816680?v=3","gravatar_id":"","url":"https://api.github.com/users/vors","html_url":"https://github.com/vors","followers_url":"https://api.github.com/users/vors/followers","following_url":"https://api.github.com/users/vors/following{/other_user}","gists_url":"https://api.github.com/users/vors/gists{/gist_id}","starred_url":"https://api.github.com/users/vors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vors/subscriptions","organizations_url":"https://api.github.com/users/vors/orgs","repos_url":"https://api.github.com/users/vors/repos","events_url":"https://api.github.com/users/vors/events{/privacy}","received_events_url":"https://api.github.com/users/vors/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T19:12:34Z","updated_at":"2015-01-19T19:12:34Z","body":"Yeah, that's fine. The reason why I use such syntax now:\r\nhttps://github.com/SublimeText/PowerShell/blob/dev/tests/pester/Syntax.Tests.ps1#L65\r\n\r\nMaybe it make sense to add syntax for range comparison, like\r\n```powershell\r\n$errorCount | Should be in (0..2)\r\n```\r\n\r\nOf course, I can use something like\r\n```powershell\r\n(0..2) -contains $errorCount | Should be $true\r\n```\r\nbut then I loose context on failure."}}