• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rust-bitcoin / rust-bitcoin / 14798118106
83%

Build:
DEFAULT BRANCH: master
Ran 02 May 2025 03:22PM UTC
Jobs 1
Files 131
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 May 2025 03:21PM UTC coverage: 84.31% (+0.1%) from 84.181%
14798118106

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#4422: units: Add regression tests for `Display` implementations

<a class=hub.com/rust-bitcoin/rust-bitcoin/commit/<a class="double-link" href="https://git"><a class=hub.com/rust-bitcoin/rust-bitcoin/commit/7bcdd5ff6655576dac79e14b9c1a50c74db310a2">7bcdd5ff6<a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/1aedc7e4d1344bade6cd1ff4c9a8a245379fbf6c"> Add regression tests for Display impl (Jamil Lambert, PhD)
<a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/9c90bf49c937409af34c0a563fb198d3f3494d37">9c90bf49c</a><a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/1aedc7e4d1344bade6cd1ff4c9a8a245379fbf6c"> Add lock by time and denomination display regression tests (Jamil Lambert, PhD)
</a><a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/eb7dee831e2b60aaf2c5bfad02efe52d5f6f2ef8">eb7dee831</a> Rename locktime tests (Jamil Lambert, PhD)

Pull request description:

  The output of Display should not change in stable crates for types that have well defined formatting and ones that implement FromStr. Error types do not need to be tested.  Discussed in #4415.

  Patch 1 is a simple rename to allow for clearer naming when both height and time locktimes are tested.

  Patch 2 adds the missing time locktime and denomination `Display` and round trip tests to the existing macro

  Patch 3 adds all the other missing `Display` tests in `units`

ACKs for top commit:
  tcharding:
    ACK 7bcdd5ff6655576dac79e14b9c1a50c74db310a2
  apoelstra:
    ACK 7bcdd5ff6655576dac79e14b9c1a50c74db310a2; successfully ran local tests

Tree-SHA512: af8810af10812c45b71be8708a1174537c0

63 of 63 new or added lines in 2 files covered. (100.0%)

22971 of 27246 relevant lines covered (84.31%)

16357.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 14798118106.1 02 May 2025 03:22PM UTC 131
84.31
GitHub Action Run
Source Files on build 14798118106
  • Tree
  • List 131
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14798118106
  • 1aedc7e4 on github
  • Prev Build on master (#14795680085)
  • Next Build on master (#14804758580)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc