Skip to content

Commit

Permalink
Update cycles-ledger/tests/tests.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Locher <thomas.locher@dfinity.org>
  • Loading branch information
Maciej Kot and THLO authored Jan 17, 2024
1 parent 345c76a commit aff0937
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cycles-ledger/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2234,9 +2234,9 @@ fn test_create_canister() {
)
}

// A test to check that DuplicateError is returned on a duplicate request
// and not InsufficientFundsError, in case when there is not enough funds
// to execute it second time
// A test to check that `DuplicateError` is returned on a duplicate `create_canister` request
// and not `InsufficientFundsError` if there are not enough funds
// to execute it a second time
#[test]
fn test_create_canister_duplicate() {
const CREATE_CANISTER_CYCLES: u128 = 1_000_000_000_000;
Expand Down

0 comments on commit aff0937

Please sign in to comment.