File tree Expand file tree Collapse file tree
basics/cross-program-invocation/anchor/programs/hand/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,8 +54,11 @@ fn test_pull_lever_cpi() {
5454 // include_bytes!() runs at compile time, and during `anchor build` the IDL generation
5555 // step compiles tests before the .so files exist. Since this is a cross-program
5656 // dependency (not our own program), lever.so may not be built yet at compile time.
57- let lever_bytes = std:: fs:: read ( concat ! ( env!( "CARGO_MANIFEST_DIR" ) , "/../../target/deploy/lever.so" ) )
58- . expect ( "lever.so not found — run `anchor build` first" ) ;
57+ let lever_bytes = std:: fs:: read ( concat ! (
58+ env!( "CARGO_MANIFEST_DIR" ) ,
59+ "/../../target/deploy/lever.so"
60+ ) )
61+ . expect ( "lever.so not found — run `anchor build` first" ) ;
5962 svm. add_program ( hand_program_id, hand_bytes) . unwrap ( ) ;
6063 svm. add_program ( lever_program_id, & lever_bytes) . unwrap ( ) ;
6164 let payer = create_wallet ( & mut svm, 10_000_000_000 ) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments