Skip to content

Commit 3185dce

Browse files
committed
change program bytes path
1 parent 1b4653a commit 3185dce

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

  • basics
    • account-data/native/program/tests
    • checking-accounts/native/program/tests
    • transfer-sol/native/program/tests

basics/account-data/native/program/tests/tests.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ fn test_account_data() {
1919

2020
svm.airdrop(&payer.pubkey(), LAMPORTS_PER_SOL * 10).unwrap();
2121

22-
let program_bytes =
23-
include_bytes!("../../../../../target/deploy/account_data_native_program.so");
22+
let program_bytes = include_bytes!("../../tests/fixtures/account_data_native_program.so");
2423

2524
svm.add_program(program_id, program_bytes).unwrap();
2625

basics/checking-accounts/native/program/tests/test.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ fn test_checking_accounts() {
1616
svm.airdrop(&payer.pubkey(), LAMPORTS_PER_SOL * 10).unwrap();
1717

1818
let program_id = Pubkey::new_unique();
19-
let program_bytes =
20-
include_bytes!("../../../../../target/deploy/checking_accounts_native_program.so");
19+
let program_bytes = include_bytes!("../../tests/fixtures/checking_accounts_native_program.so");
2120

2221
svm.add_program(program_id, program_bytes).unwrap();
2322

basics/transfer-sol/native/program/tests/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fn test_transfer_sol() {
1212
let mut svm = LiteSVM::new();
1313

1414
let program_id = Pubkey::new_unique();
15-
let program_bytes = include_bytes!("../../../../../target/deploy/transfer_sol_program.so");
15+
let program_bytes = include_bytes!("../../tests/fixtures/transfer_sol_program.so");
1616

1717
svm.add_program(program_id, program_bytes).unwrap();
1818

0 commit comments

Comments
 (0)