|
Ran
|
Jobs
1
|
Files
113
|
Run time
1min
|
Badge
README BADGES
|
push
github
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
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 11632711555.1 | 0 |
82.5 |
GitHub Action Run |