@@ -10,7 +10,7 @@ use crate::compute::utils::env_utils::{TeeSessionEnvironmentVariable, get_env_va
1010#[ derive( Clone , Default ) ]
1111pub struct PreComputeArgs {
1212 pub output_dir : String ,
13- // Dataset related field
13+ // Dataset related fields
1414 pub is_dataset_required : bool ,
1515 // Input files
1616 pub input_files : Vec < String > ,
@@ -195,7 +195,7 @@ mod tests {
195195 vars
196196 }
197197
198- // TODO: Collect all errors instead of propagating immediately,and return the list of erros
198+ // TODO: Collect all errors instead of propagating immediately, and return the list of errors
199199 fn setup_bulk_dataset_env_vars ( count : usize ) -> HashMap < String , String > {
200200 let mut vars = HashMap :: new ( ) ;
201201 vars. insert ( BulkSize . name ( ) , count. to_string ( ) ) ;
@@ -233,7 +233,6 @@ mod tests {
233233
234234 assert_eq ! ( args. output_dir, OUTPUT_DIR ) ;
235235 assert ! ( !args. is_dataset_required) ;
236- assert_eq ! ( args. datasets. len( ) , 0 ) ;
237236 assert_eq ! ( args. input_files. len( ) , 1 ) ;
238237 assert_eq ! ( args. input_files[ 0 ] , "https://input-1.txt" ) ;
239238 assert_eq ! ( args. bulk_size, 0 ) ;
@@ -282,7 +281,6 @@ mod tests {
282281
283282 assert_eq ! ( args. output_dir, OUTPUT_DIR ) ;
284283 assert ! ( !args. is_dataset_required) ;
285- assert_eq ! ( args. datasets. len( ) , 0 ) ;
286284 assert_eq ! ( args. input_files. len( ) , 3 ) ;
287285 assert_eq ! ( args. input_files[ 0 ] , "https://input-1.txt" ) ;
288286 assert_eq ! ( args. input_files[ 1 ] , "https://input-2.txt" ) ;
0 commit comments