We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8975354 commit 540fa40Copy full SHA for 540fa40
Orm/Xtensive.Orm.Tests/Linq/OrderByTest.cs
@@ -333,7 +333,7 @@ public void OrderByBoolExpressionComplex()
333
.OrderBy(c => c.Status == (InvoiceStatus) 1 || c.Status == (InvoiceStatus) 2)
334
.Select(c => c.Status)
335
.ToArray();
336
- Assert.AreEqual(result.Last(), (InvoiceStatus) 1);
+ Assert.Contains(result.Last(), new[] { (InvoiceStatus) 1, (InvoiceStatus) 2 });
337
}
338
339
-}
+}
0 commit comments