Skip to content

Commit c246689

Browse files
committed
wip: update test names
1 parent 3d8fcb5 commit c246689

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

tests/strategies/chat/agents/executor/test_integration.lua renamed to tests/strategies/chat/agents/executor/test_queue.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ T = new_set({
2929
})
3030

3131
T["Agent"] = new_set()
32-
T["Agent"]["integration"] = new_set()
32+
T["Agent"]["queue"] = new_set()
3333

34-
T["Agent"]["integration"]["can run func->cmd->func"] = function()
34+
T["Agent"]["queue"]["can queue functions and commands"] = function()
3535
h.eq(vim.NIL, child.lua_get([[_G._test_order]]))
3636

3737
child.lua([[
38-
local integration_test = require("tests.strategies.chat.agents.tools.stubs.xml.integration_xml")
39-
local xml = integration_test.run()
38+
local queue = require("tests.strategies.chat.agents.tools.stubs.xml.queue_xml")
39+
local xml = queue.run()
4040
agent:execute(chat, xml)
4141
vim.wait(1000)
4242
]])

tests/strategies/chat/agents/tools/stubs/cmd_integration.lua renamed to tests/strategies/chat/agents/tools/stubs/cmd_queue.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
return {
2-
name = "cmd_integrate",
2+
name = "cmd_queue",
33
system_prompt = function(schema)
44
return "my cmd system prompt"
55
end,

tests/strategies/chat/agents/tools/stubs/func_integration.lua renamed to tests/strategies/chat/agents/tools/stubs/func_queue.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
return {
2-
name = "func_integrate",
2+
name = "func_queue",
33
system_prompt = function(schema)
44
return "my func system prompt"
55
end,

tests/strategies/chat/agents/tools/stubs/func_integration_2.lua renamed to tests/strategies/chat/agents/tools/stubs/func_queue_2.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
return {
2-
name = "func_integrate2",
2+
name = "func_queue_2",
33
system_prompt = function(schema)
44
return "my func system prompt"
55
end,

tests/strategies/chat/agents/tools/stubs/xml/integration_xml.lua renamed to tests/strategies/chat/agents/tools/stubs/xml/queue_xml.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ local M = {}
33
function M.run(name)
44
return string.format(
55
[[<tools>
6-
<tool name="func_integration">
6+
<tool name="func_queue">
77
<action type="type1"><data>Data 1</data></action>
88
</tool>
9-
<tool name="cmd_integration"></tool>
10-
<tool name="func_integration_2">
9+
<tool name="cmd_queue"></tool>
10+
<tool name="func_queue_2">
1111
<action type="type1"><data>Data 2</data></action>
1212
</tool>
1313
</tools>]],

0 commit comments

Comments
 (0)