@@ -58,9 +58,7 @@ fn create_values_query_offset(num: usize, offset: usize) -> String {
5858async fn single_page ( ) {
5959 let mut test_app = TestApp :: new ( ) . await ;
6060
61- test_app
62- . handle_app_event ( AppEvent :: NewExecution )
63- . unwrap ( ) ;
61+ test_app. handle_app_event ( AppEvent :: NewExecution ) . unwrap ( ) ;
6462 let res1 = create_execution_results ( "SELECT 1" ) . await ;
6563 let event1 = AppEvent :: ExecutionResultsNextBatch ( res1) ;
6664 test_app. handle_app_event ( event1) . unwrap ( ) ;
@@ -97,9 +95,7 @@ async fn multiple_pages_forward_and_back() {
9795 let res1 = create_execution_results ( & query) . await ;
9896 let event1 = AppEvent :: ExecutionResultsNextBatch ( res1) ;
9997
100- test_app
101- . handle_app_event ( AppEvent :: NewExecution )
102- . unwrap ( ) ;
98+ test_app. handle_app_event ( AppEvent :: NewExecution ) . unwrap ( ) ;
10399 test_app. handle_app_event ( event1) . unwrap ( ) ;
104100
105101 {
@@ -165,9 +161,7 @@ async fn multiple_pages_forward_and_back_and_forward() {
165161 let res1 = create_execution_results ( & query) . await ;
166162 let event1 = AppEvent :: ExecutionResultsNextBatch ( res1) ;
167163
168- test_app
169- . handle_app_event ( AppEvent :: NewExecution )
170- . unwrap ( ) ;
164+ test_app. handle_app_event ( AppEvent :: NewExecution ) . unwrap ( ) ;
171165 test_app. handle_app_event ( event1) . unwrap ( ) ;
172166
173167 {
@@ -219,9 +213,7 @@ async fn multiple_pages_forward_and_back_and_forward() {
219213async fn multiple_batches_lazy_loading ( ) {
220214 let mut test_app = TestApp :: new ( ) . await ;
221215
222- test_app
223- . handle_app_event ( AppEvent :: NewExecution )
224- . unwrap ( ) ;
216+ test_app. handle_app_event ( AppEvent :: NewExecution ) . unwrap ( ) ;
225217
226218 // Send only first batch initially (lazy loading)
227219 let batch1 = create_execution_results ( & create_values_query ( 60 ) ) . await ;
@@ -277,9 +269,7 @@ async fn multiple_batches_lazy_loading() {
277269async fn multiple_small_batches_auto_load ( ) {
278270 let mut test_app = TestApp :: new ( ) . await ;
279271
280- test_app
281- . handle_app_event ( AppEvent :: NewExecution )
282- . unwrap ( ) ;
272+ test_app. handle_app_event ( AppEvent :: NewExecution ) . unwrap ( ) ;
283273
284274 // Send first batch: 100 rows (fills page 0)
285275 let batch1 = create_execution_results ( & create_values_query ( 100 ) ) . await ;
@@ -359,9 +349,7 @@ async fn multiple_small_batches_auto_load() {
359349async fn exact_batches_for_page ( ) {
360350 let mut test_app = TestApp :: new ( ) . await ;
361351
362- test_app
363- . handle_app_event ( AppEvent :: NewExecution )
364- . unwrap ( ) ;
352+ test_app. handle_app_event ( AppEvent :: NewExecution ) . unwrap ( ) ;
365353
366354 // Send first batch: 50 rows
367355 let batch1 = create_execution_results ( & create_values_query ( 50 ) ) . await ;
0 commit comments