Skip to content

Commit

Permalink
test: fix broken
Browse files Browse the repository at this point in the history
  • Loading branch information
tejmagar committed Jun 28, 2024
1 parent a3aeeca commit dd71e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/parser/multipart.rs
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ pub mod tests {
assert_eq!(true, file_field.is_some());

let file = file_field.unwrap();
let file_path = file.temp_path();
let file_path = &file.temp_path;
assert_eq!("example.txt".to_string(), file.name);

let file_content = tokio::fs::read_to_string(&file_path).await.unwrap();
Expand Down

0 comments on commit dd71e50

Please sign in to comment.