@@ -829,7 +829,7 @@ mod tests {
829829 use ratatui:: { backend:: TestBackend , buffer:: Buffer , crossterm:: event:: KeyCode , Terminal } ;
830830
831831 #[ tokio:: test]
832- async fn test_render_detail_tab ( ) -> std :: io :: Result < ( ) > {
832+ async fn test_render_detail_tab ( ) -> Result < ( ) , core :: convert :: Infallible > {
833833 let ctx = Rc :: default ( ) ;
834834 let tx = sender ( ) ;
835835 let mut terminal = setup_terminal ( ) ?;
@@ -895,7 +895,7 @@ mod tests {
895895 }
896896
897897 #[ tokio:: test]
898- async fn test_render_detail_tab_with_config ( ) -> std :: io :: Result < ( ) > {
898+ async fn test_render_detail_tab_with_config ( ) -> Result < ( ) , core :: convert :: Infallible > {
899899 let tx = sender ( ) ;
900900 let mut terminal = setup_terminal ( ) ?;
901901
@@ -962,7 +962,7 @@ mod tests {
962962 }
963963
964964 #[ tokio:: test]
965- async fn test_render_version_tab ( ) -> std :: io :: Result < ( ) > {
965+ async fn test_render_version_tab ( ) -> Result < ( ) , core :: convert :: Infallible > {
966966 let ctx = Rc :: default ( ) ;
967967 let tx = sender ( ) ;
968968 let mut terminal = setup_terminal ( ) ?;
@@ -1030,7 +1030,7 @@ mod tests {
10301030 }
10311031
10321032 #[ tokio:: test]
1033- async fn test_render_version_tab_with_config ( ) -> std :: io :: Result < ( ) > {
1033+ async fn test_render_version_tab_with_config ( ) -> Result < ( ) , core :: convert :: Infallible > {
10341034 let tx = sender ( ) ;
10351035 let mut terminal = setup_terminal ( ) ?;
10361036
@@ -1099,7 +1099,7 @@ mod tests {
10991099 }
11001100
11011101 #[ tokio:: test]
1102- async fn test_render_save_dialog_detail_tab ( ) -> std :: io :: Result < ( ) > {
1102+ async fn test_render_save_dialog_detail_tab ( ) -> Result < ( ) , core :: convert :: Infallible > {
11031103 let ctx = Rc :: default ( ) ;
11041104 let tx = sender ( ) ;
11051105 let mut terminal = setup_terminal ( ) ?;
@@ -1164,7 +1164,7 @@ mod tests {
11641164 }
11651165
11661166 #[ tokio:: test]
1167- async fn test_render_copy_detail_dialog_detail_tab ( ) -> std :: io :: Result < ( ) > {
1167+ async fn test_render_copy_detail_dialog_detail_tab ( ) -> Result < ( ) , core :: convert :: Infallible > {
11681168 let ctx = Rc :: default ( ) ;
11691169 let tx = sender ( ) ;
11701170 let mut terminal = setup_terminal ( ) ?;
@@ -1235,7 +1235,7 @@ mod tests {
12351235 }
12361236
12371237 #[ tokio:: test]
1238- async fn test_render_copy_detail_dialog_version_tab ( ) -> std :: io :: Result < ( ) > {
1238+ async fn test_render_copy_detail_dialog_version_tab ( ) -> Result < ( ) , core :: convert :: Infallible > {
12391239 let ctx = Rc :: default ( ) ;
12401240 let tx = sender ( ) ;
12411241 let mut terminal = setup_terminal ( ) ?;
@@ -1319,7 +1319,7 @@ mod tests {
13191319 Ok ( ( ) )
13201320 }
13211321
1322- fn setup_terminal ( ) -> std :: io :: Result < Terminal < TestBackend > > {
1322+ fn setup_terminal ( ) -> Result < Terminal < TestBackend > , core :: convert :: Infallible > {
13231323 let backend = TestBackend :: new ( 60 , 20 ) ;
13241324 let mut terminal = Terminal :: new ( backend) ?;
13251325 terminal. clear ( ) ?;
0 commit comments