Skip to content

Commit 55c3622

Browse files
mikemaccanaclaude
andcommitted
Fix rustfmt: reformat concat! macro call in test_hand.rs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 19257b3 commit 55c3622

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

  • basics/cross-program-invocation/anchor/programs/hand/tests

basics/cross-program-invocation/anchor/programs/hand/tests/test_hand.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)