Skip to content

Commit 3a6298b

Browse files
committed
fix
1 parent 0b612cd commit 3a6298b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/System.Linq.Dynamic.Core.Tests/DynamicExpressionParserTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1748,9 +1748,9 @@ public void DynamicExpressionParser_ParseLambda_CustomType_Method_With_ComplexEx
17481748
}
17491749

17501750
[Theory]
1751-
[InlineData(true, "c => c.Age == 8", "c => (c.Age == 8)")]
1751+
[InlineData(true, "c => c.Age == 8", "c => (c.Age == Convert(8, Nullable`1))")]
17521752
[InlineData(true, "c => c.Name == \"test\"", "c => (c.Name == \"test\")")]
1753-
[InlineData(false, "c => c.Age == 8", "Param_0 => (Param_0.Age == 8)")]
1753+
[InlineData(false, "c => c.Age == 8", "Param_0 => (Param_0.Age == Convert(8, Nullable`1))")]
17541754
[InlineData(false, "c => c.Name == \"test\"", "Param_0 => (Param_0.Name == \"test\")")]
17551755
public void DynamicExpressionParser_ParseLambda_RenameParameterExpression(bool renameParameterExpression, string expressionAsString, string expected)
17561756
{

0 commit comments

Comments
 (0)