{"action":"created","comment":{"url":"https://api.github.com/repos/shouldly/shouldly/pulls/comments/37165636","id":37165636,"diff_hunk":"@@ -236,6 +236,26 @@ public static bool StringEqualWithCaseSensitivity(string actual, string expected\n             return StringComparer.InvariantCulture.Equals(actual, expected);\n         }\n \n+        public static bool EnumerableStringEqualWithCaseSensitivity(IEnumerable<string> actual, IEnumerable<string> expected, Case caseSensitivity)\n+        {\n+            var expectedEnum = expected.GetEnumerator();\n+            var actualEnum = actual.GetEnumerator();\n+\n+            for (; ; )\n+            {\n+                var expectedHasData = expectedEnum.MoveNext();\n+                var actualHasData = actualEnum.MoveNext();\n+\n+                if (!expectedHasData && !actualHasData)\n+                    return true;\n+\n+                if (!StringEqualWithCaseSensitivity(actualEnum.Current, expectedEnum.Current, caseSensitivity))","path":"src/Shouldly/Internals/Is.cs","position":17,"original_position":17,"commit_id":"404a5aae0ea608331f1b134b1377705a1f7df7f8","original_commit_id":"404a5aae0ea608331f1b134b1377705a1f7df7f8","user":{"login":"JakeGinnivan","id":453152,"avatar_url":"https://avatars.githubusercontent.com/u/453152?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeGinnivan","html_url":"https://github.com/JakeGinnivan","followers_url":"https://api.github.com/users/JakeGinnivan/followers","following_url":"https://api.github.com/users/JakeGinnivan/following{/other_user}","gists_url":"https://api.github.com/users/JakeGinnivan/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeGinnivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeGinnivan/subscriptions","organizations_url":"https://api.github.com/users/JakeGinnivan/orgs","repos_url":"https://api.github.com/users/JakeGinnivan/repos","events_url":"https://api.github.com/users/JakeGinnivan/events{/privacy}","received_events_url":"https://api.github.com/users/JakeGinnivan/received_events","type":"User","site_admin":false},"body":"This will throw if the lists are different lengths","created_at":"2015-08-17T08:04:58Z","updated_at":"2015-08-17T08:04:58Z","html_url":"https://github.com/shouldly/shouldly/pull/257#discussion_r37165636","pull_request_url":"https://api.github.com/repos/shouldly/shouldly/pulls/257","_links":{"self":{"href":"https://api.github.com/repos/shouldly/shouldly/pulls/comments/37165636"},"html":{"href":"https://github.com/shouldly/shouldly/pull/257#discussion_r37165636"},"pull_request":{"href":"https://api.github.com/repos/shouldly/shouldly/pulls/257"}}},"pull_request":{"url":"https://api.github.com/repos/shouldly/shouldly/pulls/257","id":40210917,"html_url":"https://github.com/shouldly/shouldly/pull/257","diff_url":"https://github.com/shouldly/shouldly/pull/257.diff","patch_url":"https://github.com/shouldly/shouldly/pull/257.patch","issue_url":"https://api.github.com/repos/shouldly/shouldly/issues/257","number":257,"state":"open","locked":false,"title":"Implementing ShouldBe with Case choice for IEnumerable<string>","user":{"login":"JulienFiaffe","id":9557540,"avatar_url":"https://avatars.githubusercontent.com/u/9557540?v=3","gravatar_id":"","url":"https://api.github.com/users/JulienFiaffe","html_url":"https://github.com/JulienFiaffe","followers_url":"https://api.github.com/users/JulienFiaffe/followers","following_url":"https://api.github.com/users/JulienFiaffe/following{/other_user}","gists_url":"https://api.github.com/users/JulienFiaffe/gists{/gist_id}","starred_url":"https://api.github.com/users/JulienFiaffe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JulienFiaffe/subscriptions","organizations_url":"https://api.github.com/users/JulienFiaffe/orgs","repos_url":"https://api.github.com/users/JulienFiaffe/repos","events_url":"https://api.github.com/users/JulienFiaffe/events{/privacy}","received_events_url":"https://api.github.com/users/JulienFiaffe/received_events","type":"User","site_admin":false},"body":"Hello @JakeGinnivan,\r\nThis is a Pull Request for issue #244.\r\n\r\nI have added the 3 following extensions, as specified in the issue.\r\n\r\n```csharp\r\nstatic void ShouldBe(this IEnumerable<string> actual, IEnumerable<string> expected, Case caseSensitivity);\r\nstatic void ShouldBe(this IEnumerable<string> actual, IEnumerable<string> expected, Case caseSensitivity, string customMessage);\r\nstatic void ShouldBe(this IEnumerable<string> actual, IEnumerable<string> expected, Case caseSensitivity, [InstantHandle] Func<string> customMessage);\r\n```\r\n\r\nI also have added test scenarios for these new methods. I chose to add a new validation method in `Is` named `EnumerableStringEqualWithCaseSensitivity`. Let me know if it follows the project standards.\r\n\r\nDo not hesitate to ask me anything if needed.","created_at":"2015-07-17T08:44:52Z","updated_at":"2015-08-17T08:04:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4ae96e4f834357622e77ea75e7997f4b8624ba16","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/shouldly/shouldly/pulls/257/commits","review_comments_url":"https://api.github.com/repos/shouldly/shouldly/pulls/257/comments","review_comment_url":"https://api.github.com/repos/shouldly/shouldly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shouldly/shouldly/issues/257/comments","statuses_url":"https://api.github.com/repos/shouldly/shouldly/statuses/404a5aae0ea608331f1b134b1377705a1f7df7f8","head":{"label":"JulienFiaffe:ShouldBe-IEnumerableString-CaseInsensitive","ref":"ShouldBe-IEnumerableString-CaseInsensitive","sha":"404a5aae0ea608331f1b134b1377705a1f7df7f8","user":{"login":"JulienFiaffe","id":9557540,"avatar_url":"https://avatars.githubusercontent.com/u/9557540?v=3","gravatar_id":"","url":"https://api.github.com/users/JulienFiaffe","html_url":"https://github.com/JulienFiaffe","followers_url":"https://api.github.com/users/JulienFiaffe/followers","following_url":"https://api.github.com/users/JulienFiaffe/following{/other_user}","gists_url":"https://api.github.com/users/JulienFiaffe/gists{/gist_id}","starred_url":"https://api.github.com/users/JulienFiaffe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JulienFiaffe/subscriptions","organizations_url":"https://api.github.com/users/JulienFiaffe/orgs","repos_url":"https://api.github.com/users/JulienFiaffe/repos","events_url":"https://api.github.com/users/JulienFiaffe/events{/privacy}","received_events_url":"https://api.github.com/users/JulienFiaffe/received_events","type":"User","site_admin":false},"repo":{"id":38765248,"name":"shouldly","full_name":"JulienFiaffe/shouldly","owner":{"login":"JulienFiaffe","id":9557540,"avatar_url":"https://avatars.githubusercontent.com/u/9557540?v=3","gravatar_id":"","url":"https://api.github.com/users/JulienFiaffe","html_url":"https://github.com/JulienFiaffe","followers_url":"https://api.github.com/users/JulienFiaffe/followers","following_url":"https://api.github.com/users/JulienFiaffe/following{/other_user}","gists_url":"https://api.github.com/users/JulienFiaffe/gists{/gist_id}","starred_url":"https://api.github.com/users/JulienFiaffe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JulienFiaffe/subscriptions","organizations_url":"https://api.github.com/users/JulienFiaffe/orgs","repos_url":"https://api.github.com/users/JulienFiaffe/repos","events_url":"https://api.github.com/users/JulienFiaffe/events{/privacy}","received_events_url":"https://api.github.com/users/JulienFiaffe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JulienFiaffe/shouldly","description":"Should testing for .net - the way Asserting *Should* be!","fork":true,"url":"https://api.github.com/repos/JulienFiaffe/shouldly","forks_url":"https://api.github.com/repos/JulienFiaffe/shouldly/forks","keys_url":"https://api.github.com/repos/JulienFiaffe/shouldly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JulienFiaffe/shouldly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JulienFiaffe/shouldly/teams","hooks_url":"https://api.github.com/repos/JulienFiaffe/shouldly/hooks","issue_events_url":"https://api.github.com/repos/JulienFiaffe/shouldly/issues/events{/number}","events_url":"https://api.github.com/repos/JulienFiaffe/shouldly/events","assignees_url":"https://api.github.com/repos/JulienFiaffe/shouldly/assignees{/user}","branches_url":"https://api.github.com/repos/JulienFiaffe/shouldly/branches{/branch}","tags_url":"https://api.github.com/repos/JulienFiaffe/shouldly/tags","blobs_url":"https://api.github.com/repos/JulienFiaffe/shouldly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JulienFiaffe/shouldly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JulienFiaffe/shouldly/git/refs{/sha}","trees_url":"https://api.github.com/repos/JulienFiaffe/shouldly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JulienFiaffe/shouldly/statuses/{sha}","languages_url":"https://api.github.com/repos/JulienFiaffe/shouldly/languages","stargazers_url":"https://api.github.com/repos/JulienFiaffe/shouldly/stargazers","contributors_url":"https://api.github.com/repos/JulienFiaffe/shouldly/contributors","subscribers_url":"https://api.github.com/repos/JulienFiaffe/shouldly/subscribers","subscription_url":"https://api.github.com/repos/JulienFiaffe/shouldly/subscription","commits_url":"https://api.github.com/repos/JulienFiaffe/shouldly/commits{/sha}","git_commits_url":"https://api.github.com/repos/JulienFiaffe/shouldly/git/commits{/sha}","comments_url":"https://api.github.com/repos/JulienFiaffe/shouldly/comments{/number}","issue_comment_url":"https://api.github.com/repos/JulienFiaffe/shouldly/issues/comments{/number}","contents_url":"https://api.github.com/repos/JulienFiaffe/shouldly/contents/{+path}","compare_url":"https://api.github.com/repos/JulienFiaffe/shouldly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JulienFiaffe/shouldly/merges","archive_url":"https://api.github.com/repos/JulienFiaffe/shouldly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JulienFiaffe/shouldly/downloads","issues_url":"https://api.github.com/repos/JulienFiaffe/shouldly/issues{/number}","pulls_url":"https://api.github.com/repos/JulienFiaffe/shouldly/pulls{/number}","milestones_url":"https://api.github.com/repos/JulienFiaffe/shouldly/milestones{/number}","notifications_url":"https://api.github.com/repos/JulienFiaffe/shouldly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JulienFiaffe/shouldly/labels{/name}","releases_url":"https://api.github.com/repos/JulienFiaffe/shouldly/releases{/id}","created_at":"2015-07-08T16:14:38Z","updated_at":"2015-07-08T16:14:39Z","pushed_at":"2015-07-08T19:43:40Z","git_url":"git://github.com/JulienFiaffe/shouldly.git","ssh_url":"git@github.com:JulienFiaffe/shouldly.git","clone_url":"https://github.com/JulienFiaffe/shouldly.git","svn_url":"https://github.com/JulienFiaffe/shouldly","homepage":"http://docs.shouldly-lib.net","size":21684,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"shouldly:master","ref":"master","sha":"c49d885fd10158e8b5f3c6cde3136b78ecacb693","user":{"login":"shouldly","id":373135,"avatar_url":"https://avatars.githubusercontent.com/u/373135?v=3","gravatar_id":"","url":"https://api.github.com/users/shouldly","html_url":"https://github.com/shouldly","followers_url":"https://api.github.com/users/shouldly/followers","following_url":"https://api.github.com/users/shouldly/following{/other_user}","gists_url":"https://api.github.com/users/shouldly/gists{/gist_id}","starred_url":"https://api.github.com/users/shouldly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shouldly/subscriptions","organizations_url":"https://api.github.com/users/shouldly/orgs","repos_url":"https://api.github.com/users/shouldly/repos","events_url":"https://api.github.com/users/shouldly/events{/privacy}","received_events_url":"https://api.github.com/users/shouldly/received_events","type":"Organization","site_admin":false},"repo":{"id":856112,"name":"shouldly","full_name":"shouldly/shouldly","owner":{"login":"shouldly","id":373135,"avatar_url":"https://avatars.githubusercontent.com/u/373135?v=3","gravatar_id":"","url":"https://api.github.com/users/shouldly","html_url":"https://github.com/shouldly","followers_url":"https://api.github.com/users/shouldly/followers","following_url":"https://api.github.com/users/shouldly/following{/other_user}","gists_url":"https://api.github.com/users/shouldly/gists{/gist_id}","starred_url":"https://api.github.com/users/shouldly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shouldly/subscriptions","organizations_url":"https://api.github.com/users/shouldly/orgs","repos_url":"https://api.github.com/users/shouldly/repos","events_url":"https://api.github.com/users/shouldly/events{/privacy}","received_events_url":"https://api.github.com/users/shouldly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shouldly/shouldly","description":"Should testing for .net - the way Asserting *Should* be!","fork":false,"url":"https://api.github.com/repos/shouldly/shouldly","forks_url":"https://api.github.com/repos/shouldly/shouldly/forks","keys_url":"https://api.github.com/repos/shouldly/shouldly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shouldly/shouldly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shouldly/shouldly/teams","hooks_url":"https://api.github.com/repos/shouldly/shouldly/hooks","issue_events_url":"https://api.github.com/repos/shouldly/shouldly/issues/events{/number}","events_url":"https://api.github.com/repos/shouldly/shouldly/events","assignees_url":"https://api.github.com/repos/shouldly/shouldly/assignees{/user}","branches_url":"https://api.github.com/repos/shouldly/shouldly/branches{/branch}","tags_url":"https://api.github.com/repos/shouldly/shouldly/tags","blobs_url":"https://api.github.com/repos/shouldly/shouldly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shouldly/shouldly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shouldly/shouldly/git/refs{/sha}","trees_url":"https://api.github.com/repos/shouldly/shouldly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shouldly/shouldly/statuses/{sha}","languages_url":"https://api.github.com/repos/shouldly/shouldly/languages","stargazers_url":"https://api.github.com/repos/shouldly/shouldly/stargazers","contributors_url":"https://api.github.com/repos/shouldly/shouldly/contributors","subscribers_url":"https://api.github.com/repos/shouldly/shouldly/subscribers","subscription_url":"https://api.github.com/repos/shouldly/shouldly/subscription","commits_url":"https://api.github.com/repos/shouldly/shouldly/commits{/sha}","git_commits_url":"https://api.github.com/repos/shouldly/shouldly/git/commits{/sha}","comments_url":"https://api.github.com/repos/shouldly/shouldly/comments{/number}","issue_comment_url":"https://api.github.com/repos/shouldly/shouldly/issues/comments{/number}","contents_url":"https://api.github.com/repos/shouldly/shouldly/contents/{+path}","compare_url":"https://api.github.com/repos/shouldly/shouldly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shouldly/shouldly/merges","archive_url":"https://api.github.com/repos/shouldly/shouldly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shouldly/shouldly/downloads","issues_url":"https://api.github.com/repos/shouldly/shouldly/issues{/number}","pulls_url":"https://api.github.com/repos/shouldly/shouldly/pulls{/number}","milestones_url":"https://api.github.com/repos/shouldly/shouldly/milestones{/number}","notifications_url":"https://api.github.com/repos/shouldly/shouldly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shouldly/shouldly/labels{/name}","releases_url":"https://api.github.com/repos/shouldly/shouldly/releases{/id}","created_at":"2010-08-23T07:50:00Z","updated_at":"2015-08-17T01:52:13Z","pushed_at":"2015-08-12T16:15:34Z","git_url":"git://github.com/shouldly/shouldly.git","ssh_url":"git@github.com:shouldly/shouldly.git","clone_url":"https://github.com/shouldly/shouldly.git","svn_url":"https://github.com/shouldly/shouldly","homepage":"http://docs.shouldly-lib.net","size":45902,"stargazers_count":240,"watchers_count":240,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":81,"mirror_url":null,"open_issues_count":20,"forks":81,"open_issues":20,"watchers":240,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shouldly/shouldly/pulls/257"},"html":{"href":"https://github.com/shouldly/shouldly/pull/257"},"issue":{"href":"https://api.github.com/repos/shouldly/shouldly/issues/257"},"comments":{"href":"https://api.github.com/repos/shouldly/shouldly/issues/257/comments"},"review_comments":{"href":"https://api.github.com/repos/shouldly/shouldly/pulls/257/comments"},"review_comment":{"href":"https://api.github.com/repos/shouldly/shouldly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shouldly/shouldly/pulls/257/commits"},"statuses":{"href":"https://api.github.com/repos/shouldly/shouldly/statuses/404a5aae0ea608331f1b134b1377705a1f7df7f8"}}}}