style: apply golangci-lint formatting to test file
Made-with: Cursor
This commit is contained in:
parent
bf8fce7cf6
commit
534653228d
1 changed files with 16 additions and 2 deletions
|
|
@ -24,7 +24,14 @@ func TestMatchSkillsInMessage_Basic(t *testing.T) {
|
||||||
tmpDir := setupWorkspace(t, nil)
|
tmpDir := setupWorkspace(t, nil)
|
||||||
defer os.RemoveAll(tmpDir)
|
defer os.RemoveAll(tmpDir)
|
||||||
|
|
||||||
createTestSkill(t, filepath.Join(tmpDir, "skills"), "news-summary", "news-summary", "Summarize news", "Read RSS feeds")
|
createTestSkill(
|
||||||
|
t,
|
||||||
|
filepath.Join(tmpDir, "skills"),
|
||||||
|
"news-summary",
|
||||||
|
"news-summary",
|
||||||
|
"Summarize news",
|
||||||
|
"Read RSS feeds",
|
||||||
|
)
|
||||||
createTestSkill(t, filepath.Join(tmpDir, "skills"), "weather", "weather", "Get weather info", "Check weather API")
|
createTestSkill(t, filepath.Join(tmpDir, "skills"), "weather", "weather", "Get weather info", "Check weather API")
|
||||||
|
|
||||||
cb := NewContextBuilder(tmpDir)
|
cb := NewContextBuilder(tmpDir)
|
||||||
|
|
@ -144,7 +151,14 @@ func TestLoadSkillContext(t *testing.T) {
|
||||||
tmpDir := setupWorkspace(t, nil)
|
tmpDir := setupWorkspace(t, nil)
|
||||||
defer os.RemoveAll(tmpDir)
|
defer os.RemoveAll(tmpDir)
|
||||||
|
|
||||||
createTestSkill(t, filepath.Join(tmpDir, "skills"), "weather", "weather", "Get weather", "Call the weather API with the user's location.")
|
createTestSkill(
|
||||||
|
t,
|
||||||
|
filepath.Join(tmpDir, "skills"),
|
||||||
|
"weather",
|
||||||
|
"weather",
|
||||||
|
"Get weather",
|
||||||
|
"Call the weather API with the user's location.",
|
||||||
|
)
|
||||||
|
|
||||||
cb := NewContextBuilder(tmpDir)
|
cb := NewContextBuilder(tmpDir)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue