mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-01 16:06:24 +02:00
New: Convert to New CSProj Format
Co-Authored-By: taloth <taloth@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
|
||||
using System;
|
||||
using System;
|
||||
using FluentAssertions;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Common.Http;
|
||||
@@ -32,8 +31,8 @@ namespace NzbDrone.Common.Test
|
||||
[TestCase("http://")]
|
||||
public void DownloadString_should_throw_on_not_supported_string_mono(string url)
|
||||
{
|
||||
MonoOnly();
|
||||
Assert.Throws<System.Net.WebException>(() => Subject.DownloadString(url));
|
||||
Action action = () => Subject.DownloadString(url);
|
||||
action.Should().Throw<Exception>();
|
||||
ExceptionVerification.ExpectedWarns(1);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user