Add tests for for loop
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
42e0056374
commit
dc8281036c
7 changed files with 178 additions and 2 deletions
|
|
@ -4,6 +4,7 @@ use nomo::Context;
|
|||
|
||||
#[derive(serde::Serialize)]
|
||||
struct Info {
|
||||
input: String,
|
||||
context: HashMap<String, serde_json::Value>,
|
||||
}
|
||||
|
||||
|
|
@ -26,6 +27,7 @@ fn check_cases() {
|
|||
};
|
||||
|
||||
settings.set_info(&Info {
|
||||
input: input.to_string(),
|
||||
context: map.clone(),
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue