Skip to content

Commit 49f375d

Browse files
committed
Fixing incorrect expected exception type in .NET test
1 parent 5bcbb99 commit 49f375d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/test/common/CookieTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void ShouldThrowAnExceptionWhenTheNameIsNull()
2929
[Test]
3030
public void ShouldThrowAnExceptionWhenTheValueIsNull()
3131
{
32-
Assert.Throws<ArgumentException>(() => new ReturnedCookie("name", null, null, null, DateTime.Now, false, false));
32+
Assert.Throws<ArgumentNullException>(() => new ReturnedCookie("name", null, null, null, DateTime.Now, false, false));
3333
}
3434

3535
[Test]

0 commit comments

Comments
 (0)