mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
just remove the test instead
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user