14 lines
467 B
Rust
14 lines
467 B
Rust
//! Shared failure marker used by generated compatibility tests.
|
|
|
|
/// Fails a not-yet-translated upstream test while retaining parity metadata.
|
|
///
|
|
/// # Panics
|
|
///
|
|
/// Always, with the retained upstream test identity.
|
|
#[track_caller]
|
|
pub fn pending(source: &str, line: u64, test: &str, attribute: &str, body_sha256: &str) -> ! {
|
|
panic!(
|
|
"pending LibreMetaverse parity test {test} ({attribute}) from {source}:{line}; C# body sha256={body_sha256}"
|
|
)
|
|
}
|