Re: [aspnet/AspNetCore] Adding null-conditional operator on IEnumerable.GetEnumerator() (#16947)

From: notifications@github.com
Domain: IP info github.com
MX-server: IP info out-19.smtp.github.com
Size: 2332 Bytes
Create: 2019-11-11
Update: 2019-11-11
Score: 0
Safe: Yes

Outbound domains: github.com |

@smaglio81 commented on this pull request.


In src/Http/Http/test/Internal/ItemsDictionaryTests.cs:

> +using System.IO;
+using System.IO.Pipelines;
+using Microsoft.AspNetCore.Http.Features;
+using Microsoft.AspNetCore.Routing;
+using Microsoft.Extensions.Primitives;
+using Xunit;
+
+namespace Microsoft.AspNetCore.Http
+{
+    public class ItemsDictionaryTests
+    {
+        [Fact]
+        public void GetEnumerator_ShouldResolveWithoutNullReferenceException()
+        {
+            // Arrange
+            var dict = new Microsoft.AspNetCore.Http.ItemsDictionary();

Thanks!


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Want to protect your real email from messages like this? Use TempM email and be more secure on the internet.