Skip to content

Commit 3da754a

Browse files
committed
Clean up
1 parent 31608d8 commit 3da754a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/Http/Http.Results/src/HttpResultsHelper.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,6 @@ public static void ApplyProblemDetailsDefaultsIfNeeded(object? value, int? statu
147147
}
148148
}
149149

150-
public static RouteValueDictionary EnsureValue(RouteValueDictionary? values) => values ?? new RouteValueDictionary();
151-
152150
internal static partial class Log
153151
{
154152
[LoggerMessage(1, LogLevel.Information,

src/Http/Http.Results/test/ResultsTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ public void Created_WithNullStringUriAndValue_SetsLocationNull()
586586
//Arrange
587587
object value = new { };
588588

589-
// Act
589+
// Act
590590
var result = Results.Created(default(string), value) as Created<object>;
591591

592592
//Assert
@@ -600,7 +600,7 @@ public void Created_WithEmptyStringUriAndValue_SetsLocationEmpty()
600600
//Arrange
601601
object value = new { };
602602

603-
// Act
603+
// Act
604604
var result = Results.Created(string.Empty, value) as Created<object>;
605605

606606
//Assert
@@ -614,7 +614,7 @@ public void Created_WithNullUriAndValue_SetsLocationNull()
614614
//Arrange
615615
object value = new { };
616616

617-
// Act
617+
// Act
618618
var result = Results.Created(default(Uri), value) as Created<object>;
619619

620620
//Assert

0 commit comments

Comments
 (0)