Skip to content

Commit c2ebec3

Browse files
committed
solana: allow panic on test setup function
1 parent 4800fc8 commit c2ebec3

File tree

1 file changed

+2
-0
lines changed
  • solana/programs/example-native-token-transfers/tests/common

1 file changed

+2
-0
lines changed

solana/programs/example-native-token-transfers/tests/common/setup.rs

+2
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,8 @@ pub fn add_program_upgradeable(
454454
};
455455

456456
let program_file = find_file(&format!("{program_name}.so"));
457+
458+
#[allow(clippy::panic)]
457459
match (prefer_bpf(), program_file, process_instruction) {
458460
// If SBF is preferred (i.e., `test-sbf` is invoked) and a BPF shared object exists,
459461
// use that as the program data.

0 commit comments

Comments
 (0)