just remove the test instead
parent
834a0e8b6d
commit
8ac69a5d27
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue