//! Invariant: resolve_binary returns BinaryResolution error for nonexistent commands.
use envseal::error::Error;
use envseal::policy::resolve_binary;
#[test]
fn resolve_binary_rejects_nonexistent() {
let err = resolve_binary("definitely-not-a-real-binary-xyz").unwrap_err();
assert!(matches!(err, Error::BinaryResolution(_)));
}