Skip to content

Commit

Permalink
ICRC-2 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yanliu38 committed Jan 25, 2025
1 parent 5b62542 commit 8efbec2
Show file tree
Hide file tree
Showing 2 changed files with 546 additions and 4 deletions.
14 changes: 10 additions & 4 deletions ic-canister/tests/test_canister.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,16 @@ fn test_icrc1_compatibility() {
no_args.clone(),
Vec<Icrc1StandardRecord>
),
vec![Icrc1StandardRecord {
name: "ICRC-1".to_string(),
url: "https://github.com/dfinity/ICRC-1/tree/main/standards/ICRC-1".to_string(),
}]
vec![
Icrc1StandardRecord {
name: "ICRC-1".to_string(),
url: "https://github.com/dfinity/ICRC-1/tree/main/standards/ICRC-1".to_string(),
},
Icrc1StandardRecord {
name: "ICRC-2".to_string(),
url: "https://github.com/dfinity/ICRC-1/tree/main/standards/ICRC-2".to_string(),
}
]
);
// The following two methods are tested in test_balances_and_transfers()
// icrc1_balance_of : (Account) -> (nat) query;
Expand Down
Loading

0 comments on commit 8efbec2

Please sign in to comment.