fix unit test
This commit is contained in:
parent
ac00b482e7
commit
ad5a7b7fc5
1 changed files with 5 additions and 1 deletions
|
|
@ -49,7 +49,11 @@ class TestFunction:
|
|||
@pytest.mark.parametrize(
|
||||
"function_str, expected_types, received_types",
|
||||
[
|
||||
("{%array_at({'a': 'dict?'}, 1)}", "array: Array, idx: Integer", "Map, Integer"),
|
||||
(
|
||||
"{%array_at({'a': 'dict?'}, 1)}",
|
||||
"array: Array, idx: Integer, default: Optional[AnyArgument]",
|
||||
"Map, Integer",
|
||||
),
|
||||
("{%array_extend('not', 'array')}", "arrays: Array, ...", "String, String"),
|
||||
(
|
||||
"{%replace('hi mom', 'mom', 'dad', 1, 0)}",
|
||||
|
|
|
|||
Loading…
Reference in a new issue