Skip to content

Commit

Permalink
bazel fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
DSharifi committed Jan 20, 2025
1 parent a6ab767 commit 3ec73ab
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use sns_upgrade_test_utils::test_sns_upgrade;
/// since there is sometimes a dependency between them, so we test them in both orders.
///
/// Note: FI canisters are considered fully tested elsewhere, and have stable APIs.
///
///
/// Deployment tests
#[tokio::test]
Expand Down
5 changes: 1 addition & 4 deletions rs/nns/test_utils/src/itest_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,10 +505,7 @@ pub async fn set_up_genesis_token_canister(
}

/// Compiles the ledger canister, builds it's initial payload and installs it
pub async fn install_ledger_canister(
canister: &mut Canister<'_>,
args: LedgerCanisterInitPayload,
) {
pub async fn install_ledger_canister(canister: &mut Canister<'_>, args: LedgerCanisterInitPayload) {
install_rust_canister(
canister,
"ledger-canister",
Expand Down
3 changes: 2 additions & 1 deletion rs/pocket_ic_server/tests/spec_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ fn setup_and_run_ic_ref_test(
cmd.arg("--key-file").arg(key_path);
}

let mut process = cmd.stdout(Stdio::inherit())
let mut process = cmd
.stdout(Stdio::inherit())
.stderr(Stdio::inherit())
.spawn()
.expect("httpbin binary crashed");
Expand Down
10 changes: 2 additions & 8 deletions rs/sns/test_utils/src/itest_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1395,10 +1395,7 @@ pub async fn set_up_governance_canister(
}

/// Compiles the ledger canister, builds it's initial payload and installs it
pub async fn install_ledger_canister(
canister: &mut Canister<'_>,
args: LedgerArgument,
) {
pub async fn install_ledger_canister(canister: &mut Canister<'_>, args: LedgerArgument) {
install_rust_canister_with_memory_allocation(
canister,
"ic-icrc1-ledger",
Expand All @@ -1417,10 +1414,7 @@ pub async fn set_up_ledger_canister(runtime: &'_ Runtime, args: LedgerInitArgs)
}

/// Compiles the ledger index canister, builds it's initial payload and installs it
pub async fn install_index_ng_canister(
canister: &mut Canister<'_>,
args: Option<IndexArg>,
) {
pub async fn install_index_ng_canister(canister: &mut Canister<'_>, args: Option<IndexArg>) {
install_rust_canister_with_memory_allocation(
canister,
"ic-icrc1-index-ng",
Expand Down
5 changes: 1 addition & 4 deletions rs/tests/ckbtc/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -422,10 +422,7 @@ pub fn get_btc_client(env: &TestEnv) -> Client {
.unwrap()
}

pub async fn get_bitcoin_balance(
canister: &UniversalCanister<'_>,
btc_address: &Address,
) -> u64 {
pub async fn get_bitcoin_balance(canister: &UniversalCanister<'_>, btc_address: &Address) -> u64 {
canister
.update(wasm().call(management::bitcoin_get_balance(
btc_address.to_string(),
Expand Down

0 comments on commit 3ec73ab

Please sign in to comment.