You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.47
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
This commit is contained in:
parent
88ff76fe28
commit
e46a49ecf1
@ -33,7 +33,7 @@ using System.Web;
|
||||
using System.Web.Caching;
|
||||
|
||||
using NUnit.Framework;
|
||||
using MonoTests.Common;
|
||||
|
||||
|
||||
namespace MonoTests.System.Web.Caching
|
||||
{
|
||||
@ -45,15 +45,15 @@ namespace MonoTests.System.Web.Caching
|
||||
{
|
||||
MemoryResponseElement mre;
|
||||
|
||||
AssertExtensions.Throws<ArgumentNullException> (() => {
|
||||
Assert.Throws<ArgumentNullException> (() => {
|
||||
mre = new MemoryResponseElement (null, 0);
|
||||
}, "#A1");
|
||||
|
||||
AssertExtensions.Throws<ArgumentOutOfRangeException> (() => {
|
||||
Assert.Throws<ArgumentOutOfRangeException> (() => {
|
||||
mre = new MemoryResponseElement (new byte[1], -1);
|
||||
}, "#A2");
|
||||
|
||||
AssertExtensions.Throws<ArgumentOutOfRangeException> (() => {
|
||||
Assert.Throws<ArgumentOutOfRangeException> (() => {
|
||||
mre = new MemoryResponseElement (new byte[1], 2);
|
||||
}, "#A2");
|
||||
|
||||
|
Reference in New Issue
Block a user