1
Fork 0
mirror of https://github.com/Steffo99/micronfig.git synced 2024-11-25 17:44:18 +00:00

Add three more tests

This commit is contained in:
Steffo 2024-01-03 02:55:29 +01:00
parent 22838a6cba
commit 5371080327
Signed by: steffo
GPG key ID: 2A24051445686895
4 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,9 @@
micronfig::config! {
GARAS: String,
AUTO: String,
BUS: String,
}
fn main() {
println!("{:?} {:?} {:?}", GARAS(), AUTO(), BUS())
}

View file

@ -0,0 +1,9 @@
micronfig::config! {
GARAS,
AUTO,
BUS,
}
fn main() {
println!("{:?} {:?} {:?}", GARAS(), AUTO(), BUS())
}

View file

@ -0,0 +1,7 @@
micronfig::config! {
GARASAUTO,
}
fn main() {
println!("{:?}", GARASAUTO())
}

View file

@ -18,3 +18,6 @@ macro_rules! fail {
pass!(empty);
pass!(string_single_explicit);
pass!(string_single_implicit);
pass!(string_multi_explicit);
pass!(string_multi_implicit);