pub const DIR: &str = "rich-ui-syntax-v1";
pub const ORIGINAL_SAMPLES: &str =
include_str!("../test-vectors/rich-ui-syntax-v1/refs-scan-samples-v1.json");
pub const EXTENDED_SAMPLES: &str =
include_str!("../test-vectors/rich-ui-syntax-v1/refs-scan-samples-v1.1.json");
pub const README: &str = include_str!("../test-vectors/rich-ui-syntax-v1/README.md");
pub const FILES: &[(&str, &str)] = &[
("refs-scan-samples-v1.json", ORIGINAL_SAMPLES),
("refs-scan-samples-v1.1.json", EXTENDED_SAMPLES),
("README.md", README),
];
pub const SHA256SUMS: &str = include_str!("../test-vectors/rich-ui-syntax-v1/SHA256SUMS");
pub fn file(name: &str) -> Option<&'static str> {
FILES
.iter()
.find(|(file, _)| *file == name)
.map(|(_, contents)| *contents)
}