|
|
@ -1,4 +1,4 @@
|
|
|
|
using System;
|
|
|
|
using System;
|
|
|
|
using FluentAssertions;
|
|
|
|
using FluentAssertions;
|
|
|
|
using NUnit.Framework;
|
|
|
|
using NUnit.Framework;
|
|
|
|
using NzbDrone.Mono.EnvironmentInfo;
|
|
|
|
using NzbDrone.Mono.EnvironmentInfo;
|
|
|
@ -13,8 +13,11 @@ namespace NzbDrone.Mono.Test.EnvironmentInfo
|
|
|
|
[Test]
|
|
|
|
[Test]
|
|
|
|
public void should_get_framework_version()
|
|
|
|
public void should_get_framework_version()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Subject.Version.Major.Should().Be(4);
|
|
|
|
Subject.Version.Major.Should().BeOneOf(4, 5);
|
|
|
|
Subject.Version.Minor.Should().BeOneOf(0, 5, 6);
|
|
|
|
if (Subject.Version.Major == 4)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Subject.Version.Minor.Should().BeOneOf(0, 5, 6);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|