Skip to content

Commit c5ea063

Browse files
committed
Fix NUnit2009: The actual and the expected argument is the same 'Parameter.Placeholder'
1 parent 179ebe2 commit c5ea063

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,8 @@ public void ParameterPropertyShouldReturnNewInstances()
434434
Assert.IsNull(parameters2[0].ParameterPosition);
435435

436436
// more simple version of the test
437-
Assert.That(Parameter.Placeholder, Is.Not.SameAs(Parameter.Placeholder));
437+
var placeholder = Parameter.Placeholder;
438+
Assert.That(placeholder, Is.Not.SameAs(Parameter.Placeholder));
438439
}
439440

440441
[Test]

0 commit comments

Comments
 (0)