#![allow(dead_code)]
pub(crate) mod example;
pub(crate) mod prometheus;
pub(crate) mod service;
#[cfg(feature = "json")]
pub(crate) mod endpoints;
#[cfg(feature = "json")]
pub(crate) mod report;
pub(crate) fn path_sep() -> &'static str {
if cfg!(windows) {
"\\"
} else {
"/"
}
}
#[track_caller]
pub(crate) fn assert_contains_all(haystack: &str, all_expected: &[&str]) {
for expected in all_expected {
assert!(
haystack.contains(expected),
"Expected:\n{expected}\n\nGot:\n{haystack}",
);
}
}