use crate::define_tool;
define_tool!(AZD, {
command: "azd",
macos: { brew: "azure-dev" },
linux: { uniform: "azure-dev" },
windows: { winget: "Microsoft.Azd" },
});
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn azd_registration_shape() {
assert_eq!(AZD.command, "azd");
let mac = AZD.macos.expect("azd must support macOS");
assert_eq!(
mac.brew,
Some("azure-dev"),
"Homebrew formula is `azure-dev`, not `azd`"
);
let win = AZD.windows.expect("azd must support Windows");
assert_eq!(win.winget, Some("Microsoft.Azd"));
}
}