mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
use new style asserts. They are much easier to read.
This commit is contained in:
@@ -51,7 +51,7 @@ namespace OpenSim.Data.Tests
|
||||
public void T001_LoadEmpty()
|
||||
{
|
||||
List<SceneObjectGroup> objs = db.LoadObjects(region);
|
||||
Assert.AreEqual(0, objs.Count);
|
||||
Assert.That(objs.Count, Is.EqualTo(0));
|
||||
}
|
||||
|
||||
// SOG round trips
|
||||
@@ -69,7 +69,7 @@ namespace OpenSim.Data.Tests
|
||||
|
||||
// This tests the ADO.NET driver
|
||||
List<SceneObjectGroup> objs = db.LoadObjects(region);
|
||||
Assert.AreEqual(2, objs.Count);
|
||||
Assert.That(objs.Count, Is.EqualTo(2));
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in New Issue
Block a user