@@ -3843,11 +3843,11 @@ mod tests {
3843
3843
view. push ( '"' ) ;
3844
3844
for ( x, c) in cells. iter ( ) . enumerate ( ) {
3845
3845
if skip == 0 {
3846
- view. push_str ( & c. symbol ) ;
3846
+ view. push_str ( & c. symbol ( ) ) ;
3847
3847
} else {
3848
- overwritten. push ( ( x, & c. symbol ) )
3848
+ overwritten. push ( ( x, c. symbol ( ) ) )
3849
3849
}
3850
- skip = std:: cmp:: max ( skip, c. symbol . width ( ) ) . saturating_sub ( 1 ) ;
3850
+ skip = std:: cmp:: max ( skip, c. symbol ( ) . width ( ) ) . saturating_sub ( 1 ) ;
3851
3851
}
3852
3852
view. push ( '"' ) ;
3853
3853
if !overwritten. is_empty ( ) {
@@ -4094,22 +4094,22 @@ mod tests {
4094
4094
assert_eq ! ( app. tasks. len( ) , 26 ) ;
4095
4095
assert_eq ! ( app. current_context_filter, "" ) ;
4096
4096
4097
- assert_eq ! ( app. contexts. table_state. current_selection ( ) , Some ( 0 ) ) ;
4097
+ assert_eq ! ( app. contexts. table_state. selected ( ) , Some ( 0 ) ) ;
4098
4098
app. context_next ( ) ;
4099
4099
app. context_next ( ) ;
4100
4100
app. context_select ( ) . unwrap ( ) ;
4101
- assert_eq ! ( app. contexts. table_state. current_selection ( ) , Some ( 2 ) ) ;
4101
+ assert_eq ! ( app. contexts. table_state. selected ( ) , Some ( 2 ) ) ;
4102
4102
4103
4103
assert ! ( app. update( true ) . await . is_ok( ) ) ;
4104
4104
4105
4105
assert_eq ! ( app. tasks. len( ) , 1 ) ;
4106
4106
assert_eq ! ( app. current_context_filter, "+finance -private" ) ;
4107
4107
4108
- assert_eq ! ( app. contexts. table_state. current_selection ( ) , Some ( 2 ) ) ;
4108
+ assert_eq ! ( app. contexts. table_state. selected ( ) , Some ( 2 ) ) ;
4109
4109
app. context_previous ( ) ;
4110
4110
app. context_previous ( ) ;
4111
4111
app. context_select ( ) . unwrap ( ) ;
4112
- assert_eq ! ( app. contexts. table_state. current_selection ( ) , Some ( 0 ) ) ;
4112
+ assert_eq ! ( app. contexts. table_state. selected ( ) , Some ( 0 ) ) ;
4113
4113
4114
4114
assert ! ( app. update( true ) . await . is_ok( ) ) ;
4115
4115
0 commit comments