From: <fab...@us...> - 2010-11-29 12:59:22
|
Revision: 5284 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=5284&view=rev Author: fabiomaulo Date: 2010-11-29 12:59:16 +0000 (Mon, 29 Nov 2010) Log Message: ----------- Fixed compilation errors Modified Paths: -------------- trunk/nhibernate/src/NHibernate.Test/Linq/NullComparisonTests.cs Modified: trunk/nhibernate/src/NHibernate.Test/Linq/NullComparisonTests.cs =================================================================== --- trunk/nhibernate/src/NHibernate.Test/Linq/NullComparisonTests.cs 2010-11-29 02:29:12 UTC (rev 5283) +++ trunk/nhibernate/src/NHibernate.Test/Linq/NullComparisonTests.cs 2010-11-29 12:59:16 UTC (rev 5284) @@ -293,8 +293,8 @@ private void Expect(IQueryable<AnotherEntity> q, params AnotherEntity[] entities) { - IList<AnotherEntity> results = q.ToList().OrderBy(Key).ToList(); - IList<AnotherEntity> check = entities.OrderBy(Key).ToList(); + IList<AnotherEntity> results = q.ToList().OrderBy(l=> Key(l)).ToList(); + IList<AnotherEntity> check = entities.OrderBy(l => Key(l)).ToList(); Assert.AreEqual(check.Count, results.Count); for(int i=0; i<check.Count; i++) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |