|
Ran
|
Jobs
1
|
Files
115
|
Run time
1min
|
Badge
README BADGES
|
push
github
Merge rust-bitcoin/rust-bitcoin#3793: Update regex lookahead to match when there are no characters 23f75a098 Update regex lookahead to match when there are no characters (Shing Him Ng) Pull request description: Was working on #3777 and noticed that `amount::Denomination` didn't show up when running `contrib/api.sh units types`. There are some structs/enums in `api/<crate>/all-features.txt` that dont have a `\(`, `;`, or ` ` after the struct/enum name, and the line just ends, so matching the end of line `$` should also be added. This allows the script to find the additional type from `units`: `#[non_exhaustive] pub enum bitcoin_units::amount::Denomination` Also tested this in `primitives`, and it returned: ``` script::Script BlockChecked BlockUnchecked absolute::LockTime block::Checked block::Unchecked locktime::absolute::LockTime locktime::relative::LockTime opcodes::Class opcodes::ClassifyContext relative::LockTime BlockHash BlockHeader CompactTarget Sequence TapBranchTag TapLeafHash TapLeafTag TapNodeHash TapTweakHash TapTweakTag Transaction TxIn TxMerkleNode TxOut Txid Witness WitnessCommitment WitnessMerkleNode Wtxid block::BlockHash block::Header block::Version block::WitnessCommitment merkle_tree::TxMerkleNode merkle_tree::WitnessMerkleNode opcodes::Opcode pow::CompactTarget script::ScriptBuf script::ScriptHash script::WScriptHash sequence::Sequence taproot::TapBranchTag taproot::TapLeafHash taproot::TapLeafTag taproot::TapNodeHash taproot::TapTweakHash taproot::TapTweakTag transaction::OutPoint transaction::Transaction transaction::TxIn transaction::TxOut transaction::Txid transaction::Version transaction::Wtxid witness::Witness ``` vs without this update (on `master`): ``` script::Script BlockHash CompactTarget Sequence TapLeafHash TapNodeHash TapTweakHash TxMerkleN... (continued)
20422 of 24594 relevant lines covered (83.04%)
17755.14 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 12433936680.1 | 0 |
83.04 |
GitHub Action Run |