macro_rules! HEALTHCHECK {
(NONE) => { ... };
(CMD $cmd:expr) => { ... };
}
Expand description
let health_check = HEALTHCHECK!(NONE);
assert_eq!(health_check.to_string(), "HEALTHCHECK NONE");
macro_rules! HEALTHCHECK {
(NONE) => { ... };
(CMD $cmd:expr) => { ... };
}
let health_check = HEALTHCHECK!(NONE);
assert_eq!(health_check.to_string(), "HEALTHCHECK NONE");