Closed yowl closed 4 years ago
The following code fails in the Wasm backend:
internal static class Assert { public static void Equal<T>(T expected, T actual) { if (EqualityComparer<T>.Default.Equals(expected, actual)) return; Program.PrintLine("Assertion failure - Assert.Equal " + expected.ToString() + "," + actual.ToString()); throw new Exception(); } }
called with
Assert.Equal(true, true);
The exception is thrown instead of returning at the return.
return
Assertion failure - Assert.Equal True,True exception thrown: 7190224
The following code fails in the Wasm backend:
called with
The exception is thrown instead of returning at the
return
.