Skip to content

Commit 4864838

Browse files
committed
format code
1 parent 1fc62ed commit 4864838

File tree

2 files changed

+4
-49
lines changed

2 files changed

+4
-49
lines changed

socket.io-client-csharp.sln.DotSettings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2+
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=IO/@EntryIndexedValue">IO</s:String>
23
<s:Boolean x:Key="/Default/UserDictionary/Words/=decapsulable/@EntryIndexedValue">True</s:Boolean>
34
<s:Boolean x:Key="/Default/UserDictionary/Words/=decapsulate/@EntryIndexedValue">True</s:Boolean>
45
<s:Boolean x:Key="/Default/UserDictionary/Words/=decapsulation/@EntryIndexedValue">True</s:Boolean>

tests/SocketIOClient.UnitTests/V2/Session/EngineIOHttpAdapter/EngineIO3AdapterTests.cs

Lines changed: 3 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,7 @@ public void ToHttpRequest_GivenAnEmptySubBytes_ThrowException()
4545
new byte[] { 1 },
4646
}, new HttpRequest
4747
{
48-
BodyBytes =
49-
[
50-
1,
51-
1,
52-
255,
53-
4,
54-
1,
55-
],
48+
BodyBytes = [1, 1, 255, 4, 1],
5649
Method = RequestMethod.Post,
5750
BodyType = RequestBodyType.Bytes,
5851
Headers = new Dictionary<string, string>
@@ -66,24 +59,7 @@ public void ToHttpRequest_GivenAnEmptySubBytes_ThrowException()
6659
Enumerable.Range(0, 10).Select(x => (byte)x).ToArray(),
6760
}, new HttpRequest
6861
{
69-
BodyBytes =
70-
[
71-
1,
72-
1,
73-
0,
74-
255,
75-
4,
76-
0,
77-
1,
78-
2,
79-
3,
80-
4,
81-
5,
82-
6,
83-
7,
84-
8,
85-
9,
86-
],
62+
BodyBytes = [1, 1, 0, 255, 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
8763
Method = RequestMethod.Post,
8864
BodyType = RequestBodyType.Bytes,
8965
Headers = new Dictionary<string, string>
@@ -98,29 +74,7 @@ public void ToHttpRequest_GivenAnEmptySubBytes_ThrowException()
9874
Enumerable.Range(0, 10).Select(x => (byte)x).ToArray(),
9975
}, new HttpRequest
10076
{
101-
BodyBytes =
102-
[
103-
1,
104-
1,
105-
255,
106-
4,
107-
1,
108-
1,
109-
1,
110-
0,
111-
255,
112-
4,
113-
0,
114-
1,
115-
2,
116-
3,
117-
4,
118-
5,
119-
6,
120-
7,
121-
8,
122-
9,
123-
],
77+
BodyBytes = [1, 1, 255, 4, 1, 1, 1, 0, 255, 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
12478
Method = RequestMethod.Post,
12579
BodyType = RequestBodyType.Bytes,
12680
Headers = new Dictionary<string, string>

0 commit comments

Comments
 (0)