From 2fea860824c542ad193c623450dfcf9b2695d9b6 Mon Sep 17 00:00:00 2001 From: RF-Tar-Railt Date: Thu, 21 Nov 2024 09:52:31 +0800 Subject: [PATCH] :pencil2: fix sync error --- tests/core_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"