You've already forked linux-packaging-mono
Imported Upstream version 5.2.0.175
Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
parent
4bdbaf4a88
commit
966bba02bb
@@ -25,14 +25,14 @@ namespace MonoTests.System.Transactions
|
||||
TransactionScope scope = new TransactionScope (TransactionScopeOption.Required, TimeSpan.FromSeconds (-1));
|
||||
Assert.Fail ("Expected exception when passing TransactionScopeOption and an invalid TimeSpan.");
|
||||
} catch (ArgumentOutOfRangeException ex) {
|
||||
Assert.AreEqual (ex.ParamName, "timeout");
|
||||
Assert.AreEqual ("scopeTimeout", ex.ParamName);
|
||||
}
|
||||
|
||||
try {
|
||||
TransactionScope scope = new TransactionScope (null, TimeSpan.FromSeconds (-1));
|
||||
Assert.Fail ("Expected exception when passing TransactionScopeOption and an invalid TimeSpan.");
|
||||
} catch (ArgumentOutOfRangeException ex) {
|
||||
Assert.AreEqual (ex.ParamName, "timeout");
|
||||
Assert.AreEqual ("scopeTimeout", ex.ParamName);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user