Skip to content

Commit 91944e4

Browse files
committed
fix: update path formatting in zip file handling for consistency
1 parent 653d496 commit 91944e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

post-compute/src/compute/web2_result.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ mod tests {
682682
.expect_zip_iexec_out()
683683
.with(eq("/iexec_out"), function(|path: &str| !path.is_empty()))
684684
.times(1)
685-
.returning(|_, path| Ok(format!("{}/iexec_out.zip", path)));
685+
.returning(|_, path| Ok(format!("{path}/iexec_out.zip")));
686686

687687
web2_result_mock
688688
.expect_eventually_encrypt_result()
@@ -754,7 +754,7 @@ mod tests {
754754
.expect_zip_iexec_out()
755755
.with(eq("/iexec_out"), function(|path: &str| !path.is_empty()))
756756
.times(1)
757-
.returning(|_, path| Ok(format!("{}/iexec_out.zip", path)));
757+
.returning(|_, path| Ok(format!("{path}/iexec_out.zip")));
758758

759759
web2_result_mock
760760
.expect_eventually_encrypt_result()
@@ -780,7 +780,7 @@ mod tests {
780780

781781
web2_result_mock
782782
.expect_zip_iexec_out()
783-
.returning(|_, path| Ok(format!("{}/iexec_out.zip", path)));
783+
.returning(|_, path| Ok(format!("{path}/iexec_out.zip")));
784784

785785
web2_result_mock
786786
.expect_eventually_encrypt_result()

0 commit comments

Comments
 (0)