Skip to content

Commit d548bab

Browse files
committed
fixed failing tests due to change to new msbuild 2015.
1 parent abaa1bb commit d548bab

File tree

2 files changed

+612
-613
lines changed

2 files changed

+612
-613
lines changed

MongoDB.DriverUnitTests/Linq/SelectNullableTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public void TestWhereEEqualsNull()
9393
Assert.AreSame(typeof(C), translatedQuery.DocumentType);
9494

9595
var selectQuery = (SelectQuery)translatedQuery;
96-
Assert.AreEqual("(C c) => ((Nullable<Int32>)c.E == (Nullable<Int32>)null)", ExpressionFormatter.ToString(selectQuery.Where));
96+
Assert.AreEqual("(C c) => (c.E == (Nullable<E>)null)", ExpressionFormatter.ToString(selectQuery.Where));
9797
Assert.IsNull(selectQuery.OrderBy);
9898
Assert.IsNull(selectQuery.Projection);
9999
Assert.IsNull(selectQuery.Skip);

0 commit comments

Comments
 (0)