Skip to content

Commit

Permalink
added reproduction for akkadotnet#117
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed Mar 24, 2021
1 parent 3443a44 commit a97100e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
20 changes: 20 additions & 0 deletions src/Hyperion.Tests/Bugfix117Tests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

using System;
using System.Drawing;
using Xunit;
using Xunit.Abstractions;

namespace Hyperion.Tests{
public class Bugfix117Tests : TestBase
{
[Fact]
public void CanSerializeColor()
{
var expected = Color.Aquamarine;
Serialize(expected);
Reset();
var actual = Deserialize<Color>();
Assert.Equal(expected, actual);
}
}
}
1 change: 0 additions & 1 deletion src/Hyperion.Tests/Bugs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ public void CanSerializeUri()
Assert.Equal(stream.Length, stream.Position);
}


public class SnapshotSelectionCriteria
{
public static SnapshotSelectionCriteria Latest { get; set; } = new SnapshotSelectionCriteria()
Expand Down

0 comments on commit a97100e

Please sign in to comment.