@@ -14,7 +14,7 @@ public partial class LightExpressionTests
1414#if NET8_0_OR_GREATER
1515 public void Can_property_test_generated_flat_expression_roundtrip_structurally ( )
1616 {
17- Gen . Int [ 0 , int . MaxValue ]
17+ Gen . Int [ 0 , int . MaxValue / 2 ]
1818 . Select ( seed => new GeneratedCase ( seed , GeneratedIntSpecFactory . Create ( seed , maxDepth : 3 , maxBreadth : 3 ) ) )
1919 . Sample ( testCase =>
2020 GeneratedExpressionComparer . AreEqual (
@@ -107,7 +107,7 @@ private static FastExpressionCompiler.LightExpression.Expression BuildLightBlock
107107 var expressions = new FastExpressionCompiler . LightExpression . Expression [ letMany . Values . Length + 1 ] ;
108108 for ( var i = 0 ; i < locals . Length ; ++ i )
109109 {
110- locals [ i ] = Variable ( typeof ( int ) , "v" + i ) ;
110+ locals [ i ] = Variable ( typeof ( int ) , $ "v { i } " ) ;
111111 expressions [ i ] = Assign ( locals [ i ] , BuildLightInt ( letMany . Values [ i ] , ints ) ) ;
112112 }
113113
@@ -121,7 +121,7 @@ private static int BuildFlatBlock(ref ExprTree fe, IntSpec.LetMany letMany, int[
121121 var expressions = new int [ letMany . Values . Length + 1 ] ;
122122 for ( var i = 0 ; i < locals . Length ; ++ i )
123123 {
124- locals [ i ] = fe . Variable ( typeof ( int ) , "v" + i ) ;
124+ locals [ i ] = fe . Variable ( typeof ( int ) , $ "v { i } " ) ;
125125 expressions [ i ] = fe . Assign ( locals [ i ] , BuildFlatInt ( ref fe , letMany . Values [ i ] , ints ) ) ;
126126 }
127127
0 commit comments