diff --git a/voting/quorum/quorum.go b/voting/quorum/quorum.go index 729594d..c0acb08 100644 --- a/voting/quorum/quorum.go +++ b/voting/quorum/quorum.go @@ -23,7 +23,7 @@ const ( func ValidQuorums() []Quorum { return []Quorum{ - Simple, + Simple, Unanimous, OneFifth, OneQuarter, OneThird, OneHalf, TwoThirds, TwoFifths, ThreeQuarters, ThreeFifths, @@ -97,7 +97,6 @@ func (q Quorum) IsSatisfied(possibleVotes, totalVotes int) bool { case Unanimous: return totalVotes >= possibleVotes default: - panic("this code should never be reached⚜️") + panic("this code should never be reached") } - return false } diff --git a/voting/threshold/threshold.go b/voting/threshold/threshold.go index fdee948..2f21e68 100644 --- a/voting/threshold/threshold.go +++ b/voting/threshold/threshold.go @@ -23,7 +23,7 @@ const ( func ValidThresholds() []Threshold { return []Threshold{ - Simple, + Simple, Unanimous, OneFifth, OneQuarter, OneThird, OneHalf, TwoFifths, TwoThirds, ThreeFifths, ThreeQuarters, ThreeFifths,