File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8383,7 +8383,7 @@ public async Task AutoFitContentCallback_Ok()
83838383 pb . Add ( a => a . AllowDragColumn , true ) ;
83848384 pb . Add ( a => a . ClientTableName , "table-unit-test" ) ;
83858385 pb . Add ( a => a . OnQueryAsync , OnQueryAsync ( localizer ) ) ;
8386- pb . Add ( a => a . OnAutoFitContentAsync , ( fieldName , calcWidth ) =>
8386+ pb . Add ( a => a . OnAutoFitContentAsync , ( fieldName , calcWidth ) =>
83878387 {
83888388 name = fieldName ;
83898389 var resWidth = Math . Max ( 100.65f , calcWidth ) ;
@@ -8406,7 +8406,7 @@ public async Task AutoFitContentCallback_Ok()
84068406
84078407 var table = cut . FindComponent < Table < Foo > > ( ) ;
84088408 float v = 0f ;
8409- await cut . InvokeAsync ( async ( ) => v = await table . Instance . AutoFitContentCallback ( "DateTime" , 90 ) ) ;
8409+ await cut . InvokeAsync ( async ( ) => v = await table . Instance . AutoFitContentCallback ( "DateTime" , 90 ) ) ;
84108410 Assert . Equal ( 100.65f , v ) ;
84118411 }
84128412
You can’t perform that action at this time.
0 commit comments