From d312f10420e7d7e93d5b72c7ea0bfa2819c4026c Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Fri, 12 Sep 2008 18:46:44 +0000 Subject: use new style asserts. They are much easier to read. --- OpenSim/Data/Tests/BasicRegionTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Data/Tests/BasicRegionTest.cs') diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs index 39692f1..a172b8f 100644 --- a/OpenSim/Data/Tests/BasicRegionTest.cs +++ b/OpenSim/Data/Tests/BasicRegionTest.cs @@ -51,7 +51,7 @@ namespace OpenSim.Data.Tests public void T001_LoadEmpty() { List 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 objs = db.LoadObjects(region); - Assert.AreEqual(2, objs.Count); + Assert.That(objs.Count, Is.EqualTo(2)); } [Test] -- cgit v1.1