mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
24 lines
537 B
C#
24 lines
537 B
C#
using FluentAssertions;
|
|
using NUnit.Framework;
|
|
using NzbDrone.Common.EnvironmentInfo;
|
|
|
|
namespace NzbDrone.Common.Test.EnvironmentInfo
|
|
{
|
|
[TestFixture]
|
|
public class BuildInfoFixture
|
|
{
|
|
[Test]
|
|
public void should_return_version()
|
|
{
|
|
BuildInfo.Version.Major.Should().BeOneOf(0, 10);
|
|
}
|
|
|
|
[Test]
|
|
public void should_get_branch()
|
|
{
|
|
BuildInfo.Branch.Should().NotBe("unknown");
|
|
BuildInfo.Branch.Should().NotBeNullOrWhiteSpace();
|
|
}
|
|
}
|
|
}
|