Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: improve vote inheritance testing #23

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

tbruyelle
Copy link
Collaborator

While reviewing #20, I found that the tally result assertion was weak, since it only ensures that the expected tally result is not empty.

This change improves that for tests that imply vote inheritance, the first commit e257af4 re-enables vote inheritance and improves the tally result assertion. The second commit 3696c7c disables vote inheritance again and updates the assertions to show that vote inheritance is correctly disabled (removing the delTokens additions in the expected tally results).

@tbruyelle tbruyelle merged commit a76211f into main Feb 22, 2024
13 checks passed
@tbruyelle tbruyelle deleted the tbruyelle/test/tally-wo-vote-inheritance branch February 22, 2024 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants