diff --git a/tests/core_test.py b/tests/core_test.py index 919cbbf..959bde2 100644 --- a/tests/core_test.py +++ b/tests/core_test.py @@ -556,7 +556,7 @@ def wrapper2(slot, content): assert res.query("r") == 100 assert res.query("e") == 36 - alc16_15 = Alconna(["/"], "core16_15", Args["bar", str]) + alc16_15 = Alconna(["/"], "core16_15", Args.bar(str)) with pytest.warns(UserWarning): alc16_15.shortcut("^test", {"args": ["abc"]}) assert alc16_15.parse("test").bar == "abc"