Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit e875d95

Browse files
committed
clean test
1 parent b15364c commit e875d95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ServiceStack.Text.Tests/JsonTests/JsonObjectTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public void Can_handle_null_in_Collection_with_ShouldSerialize()
180180
};
181181

182182
var json = JsonSerializer.SerializeToString(dto);
183-
Assert.AreEqual(json, "{\"ChildDtosWithShouldSerialize\":[{\"Data\":\"xx\"},{}]}");
183+
Assert.That(json, Is.EqualTo("{\"ChildDtosWithShouldSerialize\":[{\"Data\":\"xx\"},{}]}"));
184184
}
185185

186186
[Test]

0 commit comments

Comments
 (0)