File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ async fn sandbox_file_upload_download_round_trip() {
5858
5959 let download_str = download_dir. to_str ( ) . expect ( "download path is UTF-8" ) ;
6060 guard
61- . download ( "/sandbox/uploaded" , download_str)
61+ . download ( "/sandbox/uploaded/upload " , download_str)
6262 . await
6363 . expect ( "download directory" ) ;
6464
@@ -108,7 +108,7 @@ async fn sandbox_file_upload_download_round_trip() {
108108
109109 let large_down_str = large_down. to_str ( ) . expect ( "large_down path is UTF-8" ) ;
110110 guard
111- . download ( "/sandbox/large_test" , large_down_str)
111+ . download ( "/sandbox/large_test/large_upload " , large_down_str)
112112 . await
113113 . expect ( "download large file" ) ;
114114
@@ -257,7 +257,7 @@ async fn upload_respects_gitignore_by_default() {
257257 let download_str = download_dir. to_str ( ) . expect ( "verify path is UTF-8" ) ;
258258
259259 guard
260- . download ( "/sandbox/filtered" , download_str)
260+ . download ( "/sandbox/filtered/repo " , download_str)
261261 . await
262262 . expect ( "download filtered upload" ) ;
263263
Original file line number Diff line number Diff line change @@ -31,13 +31,14 @@ async fn create_with_upload_provides_files_to_command() {
3131 fs:: write ( upload_dir. join ( "src/main.py" ) , "print('hello')" ) . expect ( "write main.py" ) ;
3232
3333 let upload_str = upload_dir. to_str ( ) . expect ( "upload path is UTF-8" ) ;
34+ let remote_marker = "/sandbox/data/project/marker.txt" ;
3435
3536 // The command reads the marker file — if upload worked, its content
3637 // appears in the output.
3738 let mut guard = SandboxGuard :: create_with_upload (
3839 upload_str,
3940 "/sandbox/data" ,
40- & [ "cat" , "/sandbox/data/marker.txt" ] ,
41+ & [ "cat" , remote_marker ] ,
4142 )
4243 . await
4344 . expect ( "sandbox create --upload" ) ;
You can’t perform that action at this time.
0 commit comments