use crate::define_tool;
define_tool!(PULSAR, {
command: "pulsar",
macos: { brew: "apache-pulsar" },
linux: { brew: "apache-pulsar" },
category: "messaging",
});
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn pulsar_registration_shape() {
assert_eq!(PULSAR.command, "pulsar");
assert_eq!(PULSAR.category, Some("messaging"));
let mac = PULSAR.macos.expect("pulsar must support macOS");
assert_eq!(mac.brew, Some("apache-pulsar"));
let linux = PULSAR.linux.expect("pulsar must support Linux");
assert_eq!(linux.brew, Some("apache-pulsar"));
assert!(PULSAR.windows.is_none(), "no first-party winget manifest");
}
}