Skip to content

Commit f79f776

Browse files
Apply suggestions from code review
Co-authored-by: Frédéric Delaporte <[email protected]>
1 parent 2dd6246 commit f79f776

File tree

1 file changed

+2
-2
lines changed
  • src/NHibernate.Test/NHSpecificTest/ProxyValidator

1 file changed

+2
-2
lines changed

src/NHibernate.Test/NHSpecificTest/ProxyValidator/Fixture.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public void InternalField()
205205
Assert.That(errors, Has.Count.EqualTo(1));
206206
}
207207

208-
public class InvalidNonVirtualProtectedProperty : ValidClass
208+
public class ValidNonVirtualProtectedProperty : ValidClass
209209
{
210210
protected int NonVirtualProperty
211211
{
@@ -217,7 +217,7 @@ protected int NonVirtualProperty
217217
[Test]
218218
public void NonVirtualProtected()
219219
{
220-
var errors = pv.ValidateType(typeof(InvalidNonVirtualProtectedProperty));
220+
var errors = pv.ValidateType(typeof(ValidNonVirtualProtectedProperty));
221221
Assert.That(errors, Is.Null);
222222
}
223223

0 commit comments

Comments
 (0)