Skip to content

Commit

Permalink
Rename by weight tests to by points for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy committed Feb 9, 2022
1 parent ea8d56c commit be6346f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions contracts/tg4-engagement/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ mod tests {
}

#[test]
fn try_list_members_by_weight() {
fn try_list_members_by_points() {
let mut deps = mock_dependencies();
do_instantiate(deps.as_mut());

Expand Down Expand Up @@ -1139,7 +1139,7 @@ mod tests {
}

#[test]
fn members_by_weight_tie_breaking() {
fn members_by_points_tie_breaking() {
let mut deps = mock_dependencies();
do_instantiate(deps.as_mut());

Expand Down
2 changes: 1 addition & 1 deletion contracts/tg4-stake/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ mod tests {
}

#[test]
fn try_list_members_by_weight() {
fn try_list_members_by_points() {
let mut deps = mock_dependencies();
default_instantiate(deps.as_mut());

Expand Down

0 comments on commit be6346f

Please sign in to comment.