@@ -24,8 +24,8 @@ public void ConvertToPropertyType_WithValidEnumIgnoreCase_ConvertsCorrectly()
2424 [ Fact ]
2525 public void ConvertToPropertyType_WithInvalidEnum_ThrowsArgumentException ( )
2626 {
27- var exception = Assert . Throws < FormatException > (
28- ( ) => QueryHelpers . ConvertToPropertyType ( "InvalidStatus" , typeof ( TestStatus ) )
27+ var exception = Assert . Throws < FormatException > ( ( ) =>
28+ QueryHelpers . ConvertToPropertyType ( "InvalidStatus" , typeof ( TestStatus ) )
2929 ) ;
3030
3131 Assert . Contains (
@@ -45,8 +45,8 @@ public void ConvertToPropertyType_WithNullableEnum_ConvertsCorrectly()
4545 [ Fact ]
4646 public void ConvertToPropertyType_WithEmptyStringForEnum_ThrowsArgumentException ( )
4747 {
48- var exception = Assert . Throws < FormatException > (
49- ( ) => QueryHelpers . ConvertToPropertyType ( "" , typeof ( TestStatus ) )
48+ var exception = Assert . Throws < FormatException > ( ( ) =>
49+ QueryHelpers . ConvertToPropertyType ( "" , typeof ( TestStatus ) )
5050 ) ;
5151
5252 Assert . Contains ( "Invalid enum value '' for type 'TestStatus'" , exception . Message ) ;
@@ -71,8 +71,8 @@ public void ConvertToPropertyType_WithInt_ConvertsCorrectly()
7171 [ Fact ]
7272 public void ConvertToPropertyType_WithInvalidInt_ThrowsFormatException ( )
7373 {
74- var exception = Assert . Throws < FormatException > (
75- ( ) => QueryHelpers . ConvertToPropertyType ( "not-a-number" , typeof ( int ) )
74+ var exception = Assert . Throws < FormatException > ( ( ) =>
75+ QueryHelpers . ConvertToPropertyType ( "not-a-number" , typeof ( int ) )
7676 ) ;
7777
7878 Assert . Contains (
0 commit comments