Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event serializer has side effects that change the underlying Event data #199

Closed
rianjs opened this issue Dec 13, 2016 · 1 comment
Closed

Comments

@rianjs
Copy link
Collaborator

rianjs commented Dec 13, 2016

Stick this in SerializationTests:

[Test]
public void DurationIsStable_Tests()
{
    var e = GetSimpleEvent();
    var originalDuration = e.Duration;
    var c = new Calendar();
    c.Events.Add(e);
    SerializeToString(c);
    Assert.AreEqual(originalDuration, e.Duration);
}
@rianjs
Copy link
Collaborator Author

rianjs commented Dec 13, 2016

38165f8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant