@@ -500,7 +500,7 @@ fn dedup_progress_enter_opens_output_and_sets_status() {
500500}
501501
502502#[ test]
503- fn export_prompt_defaults_to_json_and_all ( ) {
503+ fn export_prompt_defaults_to_ndjson_and_all ( ) {
504504 let input = create_temp_path ( ) . unwrap ( ) ;
505505 write_test_logjet_rows ( & input, & [ ( "alpha" , & [ "AndroidGeoLocationListener" ] , "esotrace.log.utf8" ) ] ) ;
506506
@@ -510,7 +510,7 @@ fn export_prompt_defaults_to_json_and_all() {
510510 app. open_export_prompt ( ) . unwrap ( ) ;
511511
512512 assert ! ( matches!( app. focus, Focus :: ExportPrompt ) ) ;
513- assert ! ( app. export_filename. ends_with( ".json " ) ) ;
513+ assert ! ( app. export_filename. ends_with( ".ndjson " ) ) ;
514514 assert_eq ! ( app. export_range, "all" ) ;
515515
516516 let _ = std:: fs:: remove_file ( input) ;
@@ -564,7 +564,7 @@ fn export_selection_accepts_all_amount_and_range() {
564564#[ test]
565565fn export_current_results_writes_ndjson_from_filtered_view ( ) {
566566 let input = create_temp_path ( ) . unwrap ( ) ;
567- let output = input. parent ( ) . unwrap ( ) . join ( "export-out.json " ) ;
567+ let output = input. parent ( ) . unwrap ( ) . join ( "export-out.ndjson " ) ;
568568 write_test_logjet_rows (
569569 & input,
570570 & [
@@ -577,7 +577,7 @@ fn export_current_results_writes_ndjson_from_filtered_view() {
577577 let mut app = make_view_app ( input. clone ( ) ) ;
578578 app. apply_filter ( ) . unwrap ( ) ;
579579 wait_for_scan ( & mut app) ;
580- app. export_filename = "export-out.json " . to_string ( ) ;
580+ app. export_filename = "export-out.ndjson " . to_string ( ) ;
581581 app. export_range = "2-3" . to_string ( ) ;
582582 app. export_current_results ( ) . unwrap ( ) ;
583583
@@ -595,7 +595,7 @@ fn export_current_results_writes_ndjson_from_filtered_view() {
595595#[ test]
596596fn export_current_results_can_export_selected_row_only ( ) {
597597 let input = create_temp_path ( ) . unwrap ( ) ;
598- let output = input. parent ( ) . unwrap ( ) . join ( "export-current.json " ) ;
598+ let output = input. parent ( ) . unwrap ( ) . join ( "export-current.ndjson " ) ;
599599 write_test_logjet_rows (
600600 & input,
601601 & [
@@ -609,7 +609,7 @@ fn export_current_results_can_export_selected_row_only() {
609609 app. apply_filter ( ) . unwrap ( ) ;
610610 wait_for_scan ( & mut app) ;
611611 app. selected = 1 ;
612- app. export_filename = "export-current.json " . to_string ( ) ;
612+ app. export_filename = "export-current.ndjson " . to_string ( ) ;
613613 app. export_range = "current" . to_string ( ) ;
614614 app. export_current_results ( ) . unwrap ( ) ;
615615
0 commit comments