We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 049f60f commit ec500ddCopy full SHA for ec500dd
test/StackifyLib.UnitTests/JsonSerialization_Tests.cs
@@ -62,11 +62,8 @@ public void Should_Prune_Object_Array()
62
public void Should_Throw_On_Max_Depth()
63
{
64
var obj = GetTestObjectDepth();
65
-
66
- Assert.Throws<JsonSerializationException>(() =>
67
- {
68
- var result = StackifyLib.Utils.HelperFunctions.SerializeDebugData(obj, false);
69
- });
+ var result = StackifyLib.Utils.HelperFunctions.SerializeDebugData(obj, false);
+ Assert.Null(result);
70
}
71
72
0 commit comments