Skip to content

Commit 505ae85

Browse files
committed
Update this out-of-date test
1 parent b882e6d commit 505ae85

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ReactiveUI.Tests/ReactiveObjectTest.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ public void ReactiveObjectShouldntSerializeAnythingExtra()
108108
string json = JSONHelper.Serialize(fixture);
109109

110110
// Should look something like:
111-
// "{"TestCollection":[],"_IsNotNullString":"Foo","_IsOnlyOneWord":"Baz","_PocoProperty":null,"_StackOverflowTrigger":null,"_UsesExprRaiseSet":null}"
112-
Assert.True(json.Count(x => x == ',') == 5);
113-
Assert.True(json.Count(x => x == ':') == 6);
114-
Assert.True(json.Count(x => x == '"') == 16);
111+
// {"IsNotNullString":"Foo","IsOnlyOneWord":"Baz","NullableInt":null,"PocoProperty":null,"StackOverflowTrigger":null,"TestCollection":[],"UsesExprRaiseSet":null}
112+
Assert.True(json.Count(x => x == ',') == 6);
113+
Assert.True(json.Count(x => x == ':') == 7);
114+
Assert.True(json.Count(x => x == '"') == 18);
115115
}
116116

117117
[Fact]

0 commit comments

Comments
 (0)