Skip to content

Commit 4e6f9c1

Browse files
committed
Fix test that now throws ODE.
1 parent b77fc6d commit 4e6f9c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Java.Interop-Tests/Java.Interop/JniRuntimeTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void Dispose_ClearsJniEnvironment ()
5858
JniRuntime.SetCurrent (r);
5959
Assert.AreEqual (r, JniEnvironment.Runtime);
6060
r.Dispose ();
61-
Assert.Throws<NotSupportedException>(() => {
61+
Assert.Throws<ObjectDisposedException>(() => {
6262
var env = JniEnvironment.Runtime;
6363
});
6464
});

0 commit comments

Comments
 (0)