File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
crates/core/src/operations Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ pub struct FileSystemCheckBuilder {
5757pub struct FileSystemCheckMetrics {
5858 /// Was this a dry run
5959 pub dry_run : bool ,
60- /// Files that wrere removed successfully
60+ /// Files that were removed successfully
6161 #[ serde(
6262 serialize_with = "serialize_vec_string" ,
6363 deserialize_with = "deserialize_vec_string"
Original file line number Diff line number Diff line change @@ -136,12 +136,12 @@ pub mod tests {
136136 use crate :: DeltaOps ;
137137 use crate :: writer:: test_utils:: create_initialized_table;
138138 use std:: collections:: HashMap ;
139- use std :: env :: temp_dir ;
139+ use tempfile :: tempdir ;
140140
141141 #[ tokio:: test]
142142 pub async fn test_set_tbl_properties ( ) -> crate :: DeltaResult < ( ) > {
143- let temp_loc = temp_dir ( ) . join ( "test_table" ) ;
144- let ops = DeltaOps ( create_initialized_table ( temp_loc. to_str ( ) . unwrap ( ) , & [ ] ) . await ) ;
143+ let temp_loc = tempdir ( ) ? ;
144+ let ops = DeltaOps ( create_initialized_table ( temp_loc. path ( ) . to_str ( ) . unwrap ( ) , & [ ] ) . await ) ;
145145 let props = HashMap :: from ( [
146146 ( "delta.minReaderVersion" . to_string ( ) , "3" . to_string ( ) ) ,
147147 ( "delta.minWriterVersion" . to_string ( ) , "7" . to_string ( ) ) ,
You can’t perform that action at this time.
0 commit comments