Permalink
Browse files

fix whitespace in EnumTests.cs

  • Loading branch information...
kongo2002 committed Dec 14, 2012
1 parent 9571e1b commit 15762abf323aad07126a9d0b2f2e8d94302a48ee
Showing with 6 additions and 6 deletions.
  1. +6 −6 tests/ServiceStack.Text.Net40.Tests/EnumTests.cs
@@ -5,34 +5,34 @@ namespace ServiceStack.Text.Tests
{
[TestFixture]
public class EnumTests
- {
+ {
[SetUp]
public void SetUp()
{
JsConfig.Reset();
}
-
+
public enum EnumWithoutFlags
{
One = 1,
Two = 2
}
-
+
[Flags]
public enum EnumWithFlags
{
One = 1,
Two = 2
}
-
+
public class ClassWithEnums
{
public EnumWithFlags FlagsEnum { get; set; }
public EnumWithoutFlags NoFlagsEnum { get; set; }
public EnumWithFlags? NullableFlagsEnum { get; set; }
public EnumWithoutFlags? NullableNoFlagsEnum { get; set; }
}
-
+
[Test]
public void Can_correctly_serialize_enums()
{
@@ -46,7 +46,7 @@ public void Can_correctly_serialize_enums()
var expected = "{\"FlagsEnum\":1,\"NoFlagsEnum\":\"One\",\"NullableFlagsEnum\":2,\"NullableNoFlagsEnum\":\"Two\"}";
var text = JsonSerializer.SerializeToString(item);
-
+
Assert.AreEqual(expected, text);
}
}

0 comments on commit 15762ab

Please sign in to comment.