feat: add user variables to input
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use std::{cmp::Ordering, path::Path};
|
||||
use std::{cmp::Ordering, collections::HashMap, path::Path};
|
||||
|
||||
use cuddle_clusters::{process::ProcessOpts, ConcreteComponent, IntoComponent};
|
||||
use walkdir::DirEntry;
|
||||
@@ -27,6 +27,7 @@ pub(crate) async fn run_test_with_components(
|
||||
ProcessOpts {
|
||||
path: test_folder.clone(),
|
||||
output: actual.clone(),
|
||||
variables: HashMap::default(),
|
||||
},
|
||||
)
|
||||
.await?;
|
||||
@@ -37,6 +38,7 @@ pub(crate) async fn run_test_with_components(
|
||||
ProcessOpts {
|
||||
path: test_folder,
|
||||
output: expected.clone(),
|
||||
variables: HashMap::default(),
|
||||
},
|
||||
)
|
||||
.await?;
|
||||
|
Reference in New Issue
Block a user