just remove the test instead

httptests
UbitUmarov 2018-07-06 02:23:06 +01:00
parent 834a0e8b6d
commit 8ac69a5d27
2 changed files with 1 additions and 10 deletions

View File

@ -41,14 +41,5 @@ namespace OpenSim.Framework.Servers.Tests
{
Assert.AreEqual(VersionInfo.VERSIONINFO_VERSION_LENGTH, VersionInfo.Version.Length," VersionInfo.Version string not " + VersionInfo.VERSIONINFO_VERSION_LENGTH + " chars.");
}
[Test]
public void TestGetVersionStringLength()
{
foreach (VersionInfo.Flavour flavour in Enum.GetValues(typeof(VersionInfo.Flavour)))
{
Assert.AreEqual(VersionInfo.VERSIONINFO_VERSION_LENGTH, VersionInfo.GetVersionString("0.0.0", flavour).Length, "0.0.0/" + flavour + " failed");
}
}
}
}

View File

@ -57,7 +57,7 @@ namespace OpenSim
return versionString.PadRight(VERSIONINFO_VERSION_LENGTH);
}
public const int VERSIONINFO_VERSION_LENGTH = 30;
public const int VERSIONINFO_VERSION_LENGTH = 27;
/// <value>
/// This is the external interface version. It is separate from the OpenSimulator project version.