You've already forked linux-packaging-mono
Imported Upstream version 4.8.0.309
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
This commit is contained in:
parent
ee1447783b
commit
94b2861243
@ -96,10 +96,14 @@ namespace MonoTests.System.Data.Common
|
||||
try {
|
||||
da.AddToBatch (new SqlCommand ());
|
||||
Assert.Fail ("#1");
|
||||
#if FEATURE_NO_BSD_SOCKETS
|
||||
} catch (PlatformNotSupportedException) {
|
||||
#else
|
||||
} catch (NotSupportedException ex) {
|
||||
Assert.AreEqual (typeof (NotSupportedException), ex.GetType (), "#2");
|
||||
Assert.IsNull (ex.InnerException, "#3");
|
||||
Assert.IsNotNull (ex.Message, "#4");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user