Skip to content

Commit acef5ee

Browse files
committed
Apply Allman-style
1 parent 06d55f8 commit acef5ee

2 files changed

Lines changed: 14 additions & 7 deletions

File tree

JSONAPI.Tests/Json/JsonApiMediaFormaterTests.cs

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,18 @@ public void SetupModels()
5555
Name = "Jason Hater",
5656
};
5757

58-
t1 = new Tag {
58+
t1 = new Tag
59+
{
5960
Id = 1,
6061
Text = "Ember"
6162
};
62-
t2 = new Tag {
63+
t2 = new Tag
64+
{
6365
Id = 2,
6466
Text = "React"
6567
};
66-
t3 = new Tag {
68+
t3 = new Tag
69+
{
6770
Id = 3,
6871
Text = "Angular"
6972
};
@@ -248,7 +251,8 @@ public void SerializeArrayIntegrationTest()
248251

249252
[TestMethod]
250253
[DeploymentItem(@"Data\AttributeSerializationTest.json")]
251-
public void Serializes_attributes_properly() {
254+
public void Serializes_attributes_properly()
255+
{
252256
// Arrang
253257
JsonApiFormatter formatter = new JsonApiFormatter(new PluralizationService());
254258
MemoryStream stream = new MemoryStream();
@@ -265,7 +269,8 @@ public void Serializes_attributes_properly() {
265269

266270
[TestMethod]
267271
[DeploymentItem(@"Data\ByteIdSerializationTest.json")]
268-
public void Serializes_byte_ids_properly() {
272+
public void Serializes_byte_ids_properly()
273+
{
269274
// Arrang
270275
JsonApiFormatter formatter = new JsonApiFormatter(new PluralizationService());
271276
MemoryStream stream = new MemoryStream();

JSONAPI.Tests/Models/Tag.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
using System.Text;
55
using System.Threading.Tasks;
66

7-
namespace JSONAPI.Tests.Models {
8-
class Tag {
7+
namespace JSONAPI.Tests.Models
8+
{
9+
class Tag
10+
{
911
public byte Id { get; set; }
1012
public string Text { get; set; }
1113
}

0 commit comments

Comments
 (0)