Skip to content

Commit 40bf539

Browse files
committed
Stylecop
1 parent 6efe471 commit 40bf539

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

tests/ImageSharp.Web.Tests/Commands/PresetRequestParserTests.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,15 @@ public void PresetRequestParserExtractsCommands()
1717
{
1818
IDictionary<string, string> expected = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase)
1919
{
20-
{ "width", "400" },
21-
{ "height", "200" }
20+
{"width", "400"}, {"height", "200"}
2221
};
2322

2423
HttpContext context = CreateHttpContext("?preset=Preset1");
2524
IDictionary<string, string> actual = new PresetRequestParser(Options.Create(new PresetRequestParserOptions
2625
{
2726
Presets = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase)
2827
{
29-
{ "Preset1", "width=400&height=200" }
28+
{"Preset1", "width=400&height=200"}
3029
}
3130
})).ParseRequestCommands(context);
3231

@@ -43,7 +42,7 @@ public void PresetRequestParserCommandsWithoutPresetParam()
4342
{
4443
Presets = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase)
4544
{
46-
{ "Preset1", "width=400&height=200" }
45+
{"Preset1", "width=400&height=200"}
4746
}
4847
})).ParseRequestCommands(context);
4948

@@ -60,7 +59,7 @@ public void PresetRequestParserCommandsWithoutMatchingPreset()
6059
{
6160
Presets = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase)
6261
{
63-
{ "Preset1", "width=400&height=200" }
62+
{"Preset1", "width=400&height=200"}
6463
}
6564
})).ParseRequestCommands(context);
6665

0 commit comments

Comments
 (0)