You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5f31111
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: tests/AutoMapper.Extensions.ExpressionMapping.UnitTests/XpressionMapperTests.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -276,7 +276,7 @@ public void Map__flattened_property()
276
276
{
277
277
//Arrange
278
278
intage=25;
279
-
Expression<Func<UserModel,bool>>selection= s =>((s!=null?s.AccountName:null)??"").ToLower().StartsWith("P".ToLower())&&((s.AgeInYears==age)&&s.IsActive);
279
+
Expression<Func<UserModel,bool>>selection= s =>((s!=null?s.AccountName:null)??"").ToLower().StartsWith("P".ToLower())&&s!=null&&s.AgeInYears==age&&s.IsActive;
0 commit comments