Skip to content

Commit 14c0105

Browse files
committed
fix tests
Signed-off-by: Louis Mandel <[email protected]>
1 parent ec8f411 commit 14c0105

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/test_function.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test_hello_signature():
3737
{
3838
"description": "Define hello",
3939
"def": "hello",
40-
"function": {"name": "str"},
40+
"function": {"name": "string"},
4141
"return": {"text": ["Hello ", {"get": "name"}, "!"]},
4242
},
4343
{"call": "${ hello }", "args": {"name": "World"}},
@@ -106,7 +106,7 @@ def test_function_explicit_context():
106106
{
107107
"description": "Define hello",
108108
"def": "f",
109-
"function": {"name": "str"},
109+
"function": {"name": "string"},
110110
"return": {"text": ["Hello ", {"get": "name"}, "!"]},
111111
},
112112
{"lang": "python", "code": "result = alias['hello'] = f"},

tests/test_parse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Parsing using regex",
55
"text": "Malcolm Reynolds",
66
"parser": {
7-
"spec": {"first_name": "str", "last_name": "str"},
7+
"spec": {"first_name": "string", "last_name": "string"},
88
"regex": "(?P<first_name>\\w+) (?P<last_name>\\w+)",
99
},
1010
}

0 commit comments

Comments
 (0)