1
Fork 0
mirror of https://github.com/Steffo99/micronfig.git synced 2024-12-23 20:44:18 +00:00
micronfig/micronfig_macros/tests/sources/parse_single_u64_optional.rs

9 lines
134 B
Rust
Raw Normal View History

micronfig::config! {
GARASAUTO?: String > u64,
}
fn main() {
std::env::remove_var("GARASAUTO");
assert_eq!(GARASAUTO(), &None);
}