Skip to content

Commit

Permalink
fix test name
Browse files Browse the repository at this point in the history
  • Loading branch information
dmoka committed Oct 17, 2023
1 parent 5bf119f commit 6825059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/hydradx/src/evm/precompiles/tests/erc20_mapping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fn decode_asset_id_from_evm_address_should_not_work_with_invalid_asset_addresses
}

#[test]
fn encode_asset_id_to_evm_address() {
fn encode_asset_id_to_evm_address_should_work() {
assert_eq!(encode!(0), H160::from(hex!("0000000000000000000000000000000100000000")));
assert_eq!(encode!(1), H160::from(hex!("0000000000000000000000000000000100000001")));
assert_eq!(encode!(2), H160::from(hex!("0000000000000000000000000000000100000002")));
Expand Down

0 comments on commit 6825059

Please sign in to comment.