tests: MBT for votekeeper #227
Annotations
5 errors and 1 warning
Test
this function takes 4 arguments but 3 arguments were supplied
|
Test
this function takes 4 arguments but 3 arguments were supplied
|
Test
Process completed with exit code 101.
|
Clippy:
itf/tests/votekeeper.rs#L68
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> itf/tests/votekeeper.rs:68:26
|
68 | "Prevote" => Vote::new_prevote(round, value, *address),
| ^^^^^^^^^^^^^^^^^ ----- an argument of type `malachite_test::Height` is missing
|
note: associated function defined here
--> /home/runner/work/malachite/malachite/Code/test/src/vote.rs:18:12
|
18 | pub fn new_prevote(
| ^^^^^^^^^^^
help: provide the argument
|
68 | "Prevote" => Vote::new_prevote(/* malachite_test::Height */, round, value, *address),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
Clippy:
itf/tests/votekeeper.rs#L69
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> itf/tests/votekeeper.rs:69:28
|
69 | "Precommit" => Vote::new_precommit(round, value, *address),
| ^^^^^^^^^^^^^^^^^^^ ----- an argument of type `malachite_test::Height` is missing
|
note: associated function defined here
--> /home/runner/work/malachite/malachite/Code/test/src/vote.rs:33:12
|
33 | pub fn new_precommit(
| ^^^^^^^^^^^^^
help: provide the argument
|
69 | "Precommit" => Vote::new_precommit(/* malachite_test::Height */, round, value, *address),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|