refactor: syntax fixes

This commit is contained in:
Paul Pacheco 2019-08-18 16:30:53 -05:00
parent 1070fee325
commit 9e283b1f9b

View File

@ -12,7 +12,7 @@ class ArrayByteMessage : MessageBase
[Test]
public void TestNullByterray()
{
ArrayByteMessage intMessage = new ArrayByteMessage()
ArrayByteMessage intMessage = new ArrayByteMessage
{
array = null
};
@ -27,7 +27,7 @@ public void TestNullByterray()
[Test]
public void TestEmptyByteArray()
{
ArrayByteMessage intMessage = new ArrayByteMessage()
ArrayByteMessage intMessage = new ArrayByteMessage
{
array = new byte[] { }
};
@ -44,7 +44,7 @@ public void TestEmptyByteArray()
[Test]
public void TestDataByteArray()
{
ArrayByteMessage intMessage = new ArrayByteMessage()
ArrayByteMessage intMessage = new ArrayByteMessage
{
array = new byte[] { 3, 4, 5 }
};
@ -66,7 +66,7 @@ class ArrayIntMessage : MessageBase
[Test]
public void TestNullIntArray()
{
ArrayIntMessage intMessage = new ArrayIntMessage()
ArrayIntMessage intMessage = new ArrayIntMessage
{
array = null
};
@ -81,7 +81,7 @@ public void TestNullIntArray()
[Test]
public void TestEmptyIntArray()
{
ArrayIntMessage intMessage = new ArrayIntMessage()
ArrayIntMessage intMessage = new ArrayIntMessage
{
array = new int [] { }
};
@ -96,7 +96,7 @@ public void TestEmptyIntArray()
[Test]
public void TestDataIntArray()
{
ArrayIntMessage intMessage = new ArrayIntMessage()
ArrayIntMessage intMessage = new ArrayIntMessage
{
array = new[] { 3, 4, 5}
};