Updated tests to work better with VS2013 Test Adapter.

This commit is contained in:
Taloth Saldono
2014-05-04 16:33:25 +02:00
parent 388943ea1b
commit 79b2b14668
11 changed files with 121 additions and 112 deletions
+4 -2
View File
@@ -4,6 +4,7 @@ using System.Text;
using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Core.Test.Framework;
using NzbDrone.Test.Common;
namespace NzbDrone.Core.Test
{
@@ -22,10 +23,11 @@ namespace NzbDrone.Core.Test
}
[Test]
[ExpectedException(typeof(ArgumentNullException))]
public void WithDefault_Fail()
{
"test".WithDefault(null);
Assert.Throws<ArgumentNullException>(() => "test".WithDefault(null));
ExceptionVerification.IgnoreWarns();
}
[Test]