Skip to content

Add `swhid!()` macro

vlorentz requested to merge swhid-macro into master

This allows a shorter syntax in tests, such as:

swhid!(swh:1:rev:0000000000000000000000000000000000000010)

instead of:

"swh:1:rev:0000000000000000000000000000000000000010"
    .try_into()
    .unwrap()

in addition to being checked at compile time

Merge request reports