Skip to content

Commit b1058eb

Browse files
committed
FIXUP: nunit
1 parent 0bed928 commit b1058eb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Insight.Tests/StructureTests.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1178,9 +1178,9 @@ public void OneToOneGetHashCodeTest()
11781178
var oto1 = new OneToOne<TestEntity>();
11791179
var oto2 = new OneToOne<TestEntity>();
11801180

1181-
Assert.AreEqual(oto1,oto2);
1181+
ClassicAssert.AreEqual(oto1,oto2);
11821182
//If two objects compare as equal, the GetHashCode() method for each object must return the same value
1183-
Assert.AreEqual(oto1.GetHashCode(), oto2.GetHashCode());
1183+
ClassicAssert.AreEqual(oto1.GetHashCode(), oto2.GetHashCode());
11841184
}
11851185

11861186
// this re-creates the actual issue causing the memory leak
@@ -1206,7 +1206,7 @@ public void OneToOneMemoryLeakTest()
12061206
rr2 = oto2.GetRecordReader(dataReader);
12071207
}
12081208

1209-
Assert.AreEqual(rr1, rr2);
1209+
ClassicAssert.AreEqual(rr1, rr2);
12101210

12111211
// peek at the _deserializers dictionary to confirm there is no leak
12121212
var assm = typeof(OneToOne<TestEntity>).Assembly;
@@ -1228,7 +1228,7 @@ public void OneToOneMemoryLeakTest()
12281228
}
12291229
}
12301230

1231-
Assert.AreEqual(1, rrCount);
1231+
ClassicAssert.AreEqual(1, rrCount);
12321232
}
12331233
}
12341234

0 commit comments

Comments
 (0)