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