Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sam0x17 authored and Samuel Dare committed Jun 24, 2024
1 parent ad85c27 commit 66c87af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/subtensor/tests/swap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ fn test_swap_axons_weight_update() {
// Verify the weight update
let expected_weight = netuid_is_member.len() as u64
* <Test as frame_system::Config>::DbWeight::get().reads_writes(1, 2);
assert_eq!(weight, expected_weight.into());
assert_eq!(weight, expected_weight);
});
}

Expand Down

0 comments on commit 66c87af

Please sign in to comment.