Skip to content

Commit

Permalink
Fix: forgot to also rename Assert property check
Browse files Browse the repository at this point in the history
  • Loading branch information
sescalada committed Feb 15, 2022
1 parent e22d10c commit 895facf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SharpYaml.Tests/Serialization/SerializationTests2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1555,7 +1555,7 @@ public void TestIgnoreNulls()
};

var text = serializer.Serialize(testObject);
Assert.False(text.Contains("Name: null"));
Assert.False(text.Contains("DontSerializeWhenNull: null"));

var deserialized = serializer.Deserialize(new StringReader(text)) as ClassToIgnoreNulls;
Assert.NotNull(deserialized);
Expand Down

0 comments on commit 895facf

Please sign in to comment.