File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
stackslib/src/chainstate/stacks/boot Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -2524,8 +2524,7 @@ fn test_vote_withdrawal() {
2524
2524
"vote-proposal" ,
2525
2525
& symbols_from_values ( vec ! [ Value :: UInt ( 0 ) , Value :: UInt ( 10 ) ] ) ,
2526
2526
)
2527
- . unwrap ( )
2528
- . 0 ;
2527
+ . unwrap ( ) ;
2529
2528
2530
2529
// Assert that the number of votes is correct
2531
2530
assert_eq ! (
@@ -2551,8 +2550,7 @@ fn test_vote_withdrawal() {
2551
2550
"vote-proposal" ,
2552
2551
& symbols_from_values ( vec ! [ Value :: UInt ( 0 ) , Value :: UInt ( 5 ) ] ) ,
2553
2552
)
2554
- . unwrap ( )
2555
- . 0 ;
2553
+ . unwrap ( ) ;
2556
2554
2557
2555
// Assert that the number of votes is correct
2558
2556
assert_eq ! (
@@ -2753,8 +2751,7 @@ fn test_vote_fail() {
2753
2751
"vote-proposal" ,
2754
2752
& symbols_from_values ( vec ! [ Value :: UInt ( 0 ) , Value :: UInt ( USTX_PER_HOLDER ) ] ) ,
2755
2753
)
2756
- . unwrap ( )
2757
- . 0 ;
2754
+ . unwrap ( ) ;
2758
2755
}
2759
2756
2760
2757
// Assert confirmation returns true
@@ -2953,8 +2950,7 @@ fn test_vote_confirm() {
2953
2950
"vote-proposal" ,
2954
2951
& symbols_from_values ( vec ! [ Value :: UInt ( 0 ) , Value :: UInt ( USTX_PER_HOLDER ) ] ) ,
2955
2952
)
2956
- . unwrap ( )
2957
- . 0 ;
2953
+ . unwrap ( ) ;
2958
2954
}
2959
2955
2960
2956
// Assert confirmation returns true
@@ -3092,8 +3088,7 @@ fn test_vote_too_many_confirms() {
3092
3088
"withdraw-votes" ,
3093
3089
& symbols_from_values ( vec ! [ Value :: UInt ( i) , Value :: UInt ( USTX_PER_HOLDER ) ] ) ,
3094
3090
)
3095
- . unwrap ( )
3096
- . 0 ;
3091
+ . unwrap ( ) ;
3097
3092
}
3098
3093
}
3099
3094
} ) ;
You can’t perform that action at this time.
0 commit comments