Election-Tech-Initiative / Election-Tech-Initiative/electionguard-verifier

`test_parsing` fails

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
44
Forks
22
PR merge metrics
No merged PRs in 30d

Description

## Bug Report

**Current Behavior**
```
% cargo test
...
Running tests/json.rs (/Users/ssw/code/electionguard-verifier/target/debug/deps/json-3b030f250ff5ffe5)

running 1 test
test test_parsing ... FAILED

failures:

---- test_parsing stdout ----
thread 'test_parsing' panicked at '"unencrypted.json" should parse: Error("invalid type: boolean `true`, expected struct CastSelection", line: 20, column: 37)', tests/json.rs:19:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
test_parsing
```

**Expected behavior/code**
No failures, especially since the badge in README.md indicates the build passes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.