1
Fork 0
mirror of https://github.com/Steffo99/micronfig.git synced 2024-11-26 10:04:19 +00:00
micronfig/micronfig_macros/tests/sources/string_single_explicit.rs

9 lines
143 B
Rust
Raw Normal View History

2024-01-03 01:52:18 +00:00
micronfig::config! {
GARASAUTO: String,
}
fn main() {
2024-01-04 14:30:38 +00:00
std::env::set_var("GARASAUTO", "sagramoto");
assert_eq!(GARASAUTO(), "sagramoto");
2024-01-03 01:52:18 +00:00
}