mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
This commit is contained in:
18
src/Jackett.Test/Common/Utils/EnvironmentUtilTests.cs
Normal file
18
src/Jackett.Test/Common/Utils/EnvironmentUtilTests.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Jackett.Common.Utils;
|
||||
using NUnit.Framework;
|
||||
using Assert = NUnit.Framework.Assert;
|
||||
|
||||
namespace Jackett.Test.Common.Utils
|
||||
{
|
||||
[TestFixture]
|
||||
public class EnvironmentUtilTests
|
||||
{
|
||||
[Test]
|
||||
public void TestJackettVersion()
|
||||
{
|
||||
var version = EnvironmentUtil.JackettVersion();
|
||||
Assert.True(version.StartsWith("v"));
|
||||
Assert.AreEqual(3, version.Split('.').Length);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user