@@ -23,7 +23,7 @@ struct ColumnWidthTests {
2323 let products = [
2424 TestProductWithDesc ( id: 1 , name: " Product A " , price: 99.99 , description: " A very long description that requires more space " ) ,
2525 TestProductWithDesc ( id: 2 , name: " Product B " , price: 149.99 , description: nil ) ,
26- TestProductWithDesc ( id: 3 , name: " Product C " , price: 199.99 , description: " Short desc " ) ,
26+ TestProductWithDesc ( id: 3 , name: " Product C " , price: 199.99 , description: " Short desc " )
2727 ]
2828
2929 let columns : [ AnyColumn < TestProductWithDesc > ] = [
@@ -38,7 +38,7 @@ struct ColumnWidthTests {
3838 . eraseToAnyColumn ( ) ,
3939 Column < TestProductWithDesc , String ? , TextColumnType > ( name: " Description " , keyPath: \. description, mapping: { TextColumnType ( TextColumnConfig ( value: $0) ) } , nilHandling: . keepEmpty)
4040 . width ( 40 )
41- . eraseToAnyColumn ( ) ,
41+ . eraseToAnyColumn ( )
4242 ]
4343
4444 let sheet = Sheet ( name: " Products " , dataProvider: { products } , columns: { columns } )
@@ -78,7 +78,7 @@ struct ColumnWidthTests {
7878 @Test ( " Mixed column width sources - Column and SheetStyle " )
7979 func mixedColumnWidthSources( ) throws {
8080 let products = [
81- TestProductWithDesc ( id: 1 , name: " Product A " , price: 99.99 , description: " Description A " ) ,
81+ TestProductWithDesc ( id: 1 , name: " Product A " , price: 99.99 , description: " Description A " )
8282 ]
8383
8484 let columns : [ AnyColumn < TestProductWithDesc > ] = [
@@ -93,7 +93,7 @@ struct ColumnWidthTests {
9393 . eraseToAnyColumn ( ) ,
9494 Column < TestProductWithDesc , String ? , TextColumnType > ( name: " Description " , keyPath: \. description, mapping: { TextColumnType ( TextColumnConfig ( value: $0) ) } , nilHandling: . keepEmpty)
9595 // No width specified in Column
96- . eraseToAnyColumn ( ) ,
96+ . eraseToAnyColumn ( )
9797 ]
9898
9999 // Set some widths directly in SheetStyle
@@ -128,14 +128,14 @@ struct ColumnWidthTests {
128128 let products = [
129129 TestProductWithDesc ( id: 1 , name: " Product A " , price: 99.99 , description: " Description A " ) ,
130130 TestProductWithDesc ( id: 2 , name: " Product B " , price: 149.99 , description: " Description B " ) ,
131- TestProductWithDesc ( id: 3 , name: " Product C " , price: 199.99 , description: " Description C " ) ,
131+ TestProductWithDesc ( id: 3 , name: " Product C " , price: 199.99 , description: " Description C " )
132132 ]
133133
134134 let columns : [ AnyColumn < TestProductWithDesc > ] = [
135135 Column< TestProductWithDesc, String, TextColumnType> ( name: " Name " , keyPath: \. name)
136136 . eraseToAnyColumn ( ) ,
137137 Column < TestProductWithDesc , Double , DoubleColumnType > ( name: " Price " , keyPath: \. price)
138- . eraseToAnyColumn ( ) ,
138+ . eraseToAnyColumn ( )
139139 ]
140140
141141 var sheetStyle = SheetStyle ( )
@@ -187,7 +187,7 @@ struct ColumnWidthTests {
187187 let columns : [ AnyColumn < TestProductWithDesc > ] = [
188188 Column < TestProductWithDesc , String , TextColumnType > ( name: " Name " , keyPath: \. name)
189189 . width ( 20 ) // Default unit is characters
190- . eraseToAnyColumn ( ) ,
190+ . eraseToAnyColumn ( )
191191 ]
192192
193193 var sheetStyle = SheetStyle ( )
@@ -226,7 +226,7 @@ struct ColumnWidthTests {
226226 . eraseToAnyColumn ( ) ,
227227 Column < TestProductWithDesc , Double , DoubleColumnType > ( name: " Price " , keyPath: \. price)
228228 . width ( 15 )
229- . eraseToAnyColumn ( ) ,
229+ . eraseToAnyColumn ( )
230230 ]
231231
232232 let sheet = Sheet ( name: " Products " , dataProvider: { products } , columns: { columns } )
0 commit comments