diff --git a/MessagePack.NodaTime.Tests/SourceGeneratedContractTests.cs b/MessagePack.NodaTime.Tests/SourceGeneratedContractTests.cs index 507ed5b..d39844a 100644 --- a/MessagePack.NodaTime.Tests/SourceGeneratedContractTests.cs +++ b/MessagePack.NodaTime.Tests/SourceGeneratedContractTests.cs @@ -47,7 +47,7 @@ public void Roundtrip() var bin = MessagePackSerializer.Serialize(o); var res = MessagePackSerializer.Deserialize(bin); - Assert.Equal(o.LocalDateTime, res.LocalDateTime); // in DateTime format due to 'abc' being DateTime object + Assert.Equal(o, res); } } }