Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename test function name
Browse files Browse the repository at this point in the history
mubarak23 committed Oct 4, 2024
1 parent f1fac12 commit ddbc233
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/blockchain/starknet/src/token/erc721_bridgeable.cairo
Original file line number Diff line number Diff line change
@@ -306,7 +306,7 @@ mod tests {

/// Should burn token from bridge call.
#[test]
fn burn_from_bridge() {
fn test_burn_token() {
let BRIDGE = bridge_addr_mock();

let DUO_OWNER = starknet::contract_address_const::<128>();
@@ -340,7 +340,7 @@ mod tests {
/// Should panic, only owner can burn
#[test]
#[should_panic(expected: ('ERC721: only owner can burn', ))]
fn should_panic_burn_from_bridge() {
fn should_panic_test_burn_token() {
let BRIDGE = bridge_addr_mock();

let DUO_OWNER = starknet::contract_address_const::<128>();

0 comments on commit ddbc233

Please sign in to comment.