weichch / system-text-json-jsondiffpatch

High-performance, low-allocating JSON object diff and patch extension for System.Text.Json. Support generating patch document in RFC 6902 JSON Patch format.
MIT License
104 stars 13 forks source link

No diff shown with JsonAssert.Equal.. #44

Open lilith opened 7 months ago

lilith commented 7 months ago

[xUnit.net 00:00:00.32] Imageflow.Test.TestJson.TestAllJob [FAIL] Failed Imageflow.Test.TestJson.TestAllJob [186 ms] Error Message: System.Text.Json.JsonDiffPatch.Xunit.JsonEqualException : JsonAssert.Equal() failure. Stack Trace: at System.Text.Json.JsonDiffPatch.Xunit.JsonAssert.HandleEqual(JsonNode expected, JsonNode actual, JsonDiffOptions diffOptions, Func`2 outputFormatter) at System.Text.Json.JsonDiffPatch.Xunit.JsonAssert.Equal[T](T expected, T actual) at Imageflow.Test.TestJson.TestAllJob() in C:\Users\lilith\Documents\GitHub\wimageflow-dotnet\tests\Imageflow.Test\TestJson.cs:line 70 at System.RuntimeMethodHandle.InvokeMethod(Object target, Void* arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr args, BindingFlags invokeAttr)