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

rust-bitcoin / rust-bitcoin / 11632711555
83%

Build:
DEFAULT BRANCH: master
Ran 01 Nov 2024 04:28PM UTC
Jobs 1
Files 113
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

01 Nov 2024 04:27PM UTC coverage: 82.501% (+0.01%) from 82.491%
11632711555

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#3559: Replace `String` with `InputString`

3f2e760d1 Replace String with InputString in ParseIntError (Tobin C. Harding)
aa5c78430 Replace invalidInteger with ParseIntError (Tobin C. Harding)
9b7a706bf Remove From<ParseIntError> (Tobin C. Harding)
c90f4b603 Fix bug in error output (Tobin C. Harding)
c986b2f62 internals: Move error.rs to error/mod.rs (Tobin C. Harding)

Pull request description:

  This PR hopefully clears the way for removing many of the `alloc` feature gates in `units` and `primitives`

  The three final patches were tested by adding the following test to `units::locktime::absolute`:
  ```rust
      #[test]
      pub fn debug_absolute_error_conversion_height() {
          let invalid_height = LOCK_TIME_THRESHOLD + 1;
          let err = Height::from_consensus(invalid_height).unwrap_err();
          std::println!("{:?}", err);
          std::println!("{}", err);

          let invalid_time =  LOCK_TIME_THRESHOLD - 1;
          let err = Time::from_consensus(invalid_time).unwrap_err();
          std::println!("{:?}", err);
          std::println!("{}", err);

          let invalid_height = std::format!("{:x}", LOCK_TIME_THRESHOLD + 1);
          let err = Height::from_hex(&invalid_height).unwrap_err();
          std::println!("{:?}", err);
          std::println!("{}", err);

          let invalid_time = std::format!("{:x}", LOCK_TIME_THRESHOLD - 1);
          let err = Time::from_hex(&invalid_time).unwrap_err();
          std::println!("{:?}", err);
          std::println!("{}", err);

          let err = Height::from_hex("somerandomshit").unwrap_err();
          std::println!("{:?}", err);
          std::println!("{}", err);

          let err = Time::from_hex("somerandomshit").unwrap_err();
          std::println!("{:?}", err);
          std::printl... (continued)

4 of 18 new or added lines in 2 files covered. (22.22%)

2 existing lines in 2 files now uncovered.

19726 of 23910 relevant lines covered (82.5%)

18220.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11632711555.1 01 Nov 2024 04:28PM UTC 0
82.5
GitHub Action Run
Source Files on build 11632711555
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11632711555
  • 515c0f58 on github
  • Prev Build on master (#11631779112)
  • Next Build on master (#11638688623)
  • 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