Skip to content

Commit 9752baf

Browse files
(#177) Remove commented out code
1 parent fc4781c commit 9752baf

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Stravaig.Configuration.Diagnostics.Tests/RegressionTests/SerilogEmptyKeyConfigTests.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,8 @@ public void TwoEmptyKeys()
5050
.Select(p => p.Path.Split('.').Last())
5151
.Where(p => p is not ("_EmptyTopLevel" or "A_Regular_Key"))
5252
.ToArray();
53+
5354
foreach (var nullProperty in nullProperties)
5455
properties.Value<string>(nullProperty).ShouldBeNull($"Property \"{nullProperty}\" should have a null value.");
55-
// var nullProperties = properties.Children()
56-
// .Where(p => p.Key is not ("_EmptyTopLevel" or "A_Regular_Key" or "{OriginalFormat}"))
57-
// .ToArray();
58-
// foreach(var nullProperty in nullProperties)
59-
// nullProperty.Value.ShouldBe("(null)", $"Property \"{nullProperty.Key}\" should have a dummy null value.");
6056
}
6157
}

0 commit comments

Comments
 (0)