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 aff0937 commit d10bf49
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 @@ -1151,9 +1151,9 @@ fn test_deduplication() {
.unwrap();
}

// 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 `transfer` request
// and not `InsufficientFundsError` if there are not enough funds
// to execute it a second time
#[test]
fn test_deduplication_with_insufficient_funds() {
let env = &new_state_machine();
Expand Down

0 comments on commit d10bf49

Please sign in to comment.