Skip to content

Commit

Permalink
Rename tests correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
WanjohiSammy committed Nov 18, 2024
1 parent 26eb9ad commit 9a76fac
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ public void ParseFilterWithNullEnumValue()
[Theory]
[InlineData("cast(NS.Color'Green', 'Edm.String') eq 'blue'")]
[InlineData("cast(NS.Color'Green', Edm.String) eq 'blue'")]
public void ParseFilterCastMethod1(string filterQuery)
public void ParseFilterCastMethodWithEdmPrimitiveTypes(string filterQuery)
{
var filter = ParseFilter(filterQuery, this.userModel, this.entityType, this.entitySet);
var bon = filter.Expression.ShouldBeBinaryOperatorNode(BinaryOperatorKind.Equal);
Expand All @@ -424,7 +424,7 @@ public void ParseFilterCastMethod1(string filterQuery)
[Theory]
[InlineData("cast('Green', 'NS.Color') eq NS.Color'Green'")]
[InlineData("cast('Green', NS.Color) eq NS.Color'Green'")]
public void ParseFilterCastMethod2(string filterQuery)
public void ParseFilterCastMethodWithOrWithoutSingleQuotesOnType(string filterQuery)
{
var filter = ParseFilter(filterQuery, this.userModel, this.entityType, this.entitySet);
var bon = filter.Expression.ShouldBeBinaryOperatorNode(BinaryOperatorKind.Equal);
Expand Down

0 comments on commit 9a76fac

Please sign in to comment.